|
|
|
@ -22,13 +22,9 @@ function run_test(runes: boolean, fn: (runes: boolean) => () => void) {
|
|
|
|
$.push({}, runes);
|
|
|
|
$.push({}, runes);
|
|
|
|
// Create a render context so that effect validations etc don't fail
|
|
|
|
// Create a render context so that effect validations etc don't fail
|
|
|
|
let execute: any;
|
|
|
|
let execute: any;
|
|
|
|
const signal = render_effect(
|
|
|
|
const signal = render_effect(() => {
|
|
|
|
() => {
|
|
|
|
execute = fn(runes);
|
|
|
|
execute = fn(runes);
|
|
|
|
}, true);
|
|
|
|
},
|
|
|
|
|
|
|
|
true,
|
|
|
|
|
|
|
|
true
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
$.pop();
|
|
|
|
$.pop();
|
|
|
|
execute();
|
|
|
|
execute();
|
|
|
|
destroy_effect(signal);
|
|
|
|
destroy_effect(signal);
|
|
|
|
|