|
|
@ -5,7 +5,6 @@ export default test({
|
|
|
|
const btn = target.querySelector('button');
|
|
|
|
const btn = target.querySelector('button');
|
|
|
|
const main = target.querySelector('main');
|
|
|
|
const main = target.querySelector('main');
|
|
|
|
ok(main);
|
|
|
|
ok(main);
|
|
|
|
console.log(main.innerHTML);
|
|
|
|
|
|
|
|
assert.htmlEqual(main.innerHTML, `<div>true</div>`);
|
|
|
|
assert.htmlEqual(main.innerHTML, `<div>true</div>`);
|
|
|
|
// we don't want to use flush sync (or tick that use it inside) since we are testing that calling `flushSync` once
|
|
|
|
// we don't want to use flush sync (or tick that use it inside) since we are testing that calling `flushSync` once
|
|
|
|
// when there are no scheduled effects does not cause reactivity to break
|
|
|
|
// when there are no scheduled effects does not cause reactivity to break
|
|
|
|