mirror of https://github.com/sveltejs/svelte
Merge pull request #1374 from sveltejs/gh-1368
Return consistently-shaped `stats` objectpull/1381/head
commit
83af7bb8fd
@ -1,7 +1,10 @@
|
||||
export default {
|
||||
test(assert, stats) {
|
||||
assert.deepEqual(stats.hooks, {
|
||||
oncreate: true
|
||||
oncreate: true,
|
||||
ondestroy: false,
|
||||
onstate: false,
|
||||
onupdate: false
|
||||
});
|
||||
}
|
||||
};
|
Loading…
Reference in new issue