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/test/runtime/samples/lifecycle-render-order/_config.js

17 lines
215 B

import order from './order.js';
export default {
skip_if_ssr: true,
test({ assert }) {
assert.deepEqual(order, [
'beforeUpdate',
'render',
'onMount',
'afterUpdate'
]);
order.length = 0;
}
};