You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/packages/svelte/tests/runtime-runes/samples/async-ondestroy-ordering/_config.js

15 lines
261 B

import { test } from '../../test';
import { destroyed, reset } from './destroyed.js';
export default test({
mode: ['async-server'],
before_test() {
reset();
},
test_ssr({ assert }) {
assert.deepEqual(destroyed, ['C', 'A', 'B', 'B*', 'root']);
}
});