Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setTimeout(()=>{
const html = document.body.innerHTML;
console.log(html);
be.err.true(/<b>MR.<\/b>/.test(html));
be.err.true(/<b>MRS.<\/b>/.test(html));
be.err(done).equal('Mario Bros', document.getElementById('game-name').innerHTML);
},100);
</b></b>
setTimeout(()=>{
const html = document.body.innerHTML;
console.log(html);
be.err(done).true(/D O Z/g.test(html));
},100);
setTimeout(()=>{
const result = document.body.innerHTML;
console.log(result);
be.err(done).true(/Ciao Blat/.test(result));
}, 100);
setTimeout(() => {
const html = document.body.innerHTML;
console.log(html);
console.log(view);
be.err(done).true(/Hello world/g.test(html));
}, 100);
setTimeout(()=>{
const html = document.body.innerHTML;
console.log(html);
console.log('<div id="app"><div>Hello Dear Teddy</div> </div>');
//console.log(app);
be.err(done).true(/Hello Dear Teddy
setTimeout(() => {
const html = document.body.innerHTML;
console.log(html);
//console.log(app);
be.err.true(/Hi by repeater
it('should be return a record', (done)=>{
cache.set('myAddTo', ['hello', 'world']);
let result = cache.addTo('myAddTo', 'ciao');
console.log(result);
be.err(done).inArray('ciao', result.value);
});
it('should be return error', (done)=>{
setTimeout(() => {
let result = cache.get('myKeyExpiry', false);
console.log(result);
be.err(done).undefined(result);
}, 1200);
});
setTimeout(()=>{
let result = cache.get('myKeyXCVExpiry', false);
console.log(result);
be.err(done).undefined(result);
}, 1200);
});
setTimeout(()=>{
let result = cache.get('myKeyExpiry', false);
console.log(result);
be.err(done).undefined(result);
}, 1200);
});