mirror of https://github.com/sveltejs/svelte
fix #1368
parent
890da3b02a
commit
d03693114d
@ -1,7 +1,10 @@
|
|||||||
export default {
|
export default {
|
||||||
test(assert, stats) {
|
test(assert, stats) {
|
||||||
assert.deepEqual(stats.hooks, {
|
assert.deepEqual(stats.hooks, {
|
||||||
oncreate: true
|
oncreate: true,
|
||||||
|
ondestroy: false,
|
||||||
|
onstate: false,
|
||||||
|
onupdate: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in new issue