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
234 B

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