diff --git a/src/Stats.ts b/src/Stats.ts index ea378bcaeb..e13e5f5d15 100644 --- a/src/Stats.ts +++ b/src/Stats.ts @@ -96,20 +96,11 @@ export default class Stats { } }); - // TODO - const hooks: Record = component && { - oncreate: false, - onDestroy: false, - onstate: false, - afterUpdate: false - }; - return { timings, warnings: this.warnings, imports, - templateReferences: component && component.template_references, - hooks + templateReferences: component && component.template_references }; } diff --git a/test/stats/samples/hooks/_config.js b/test/stats/samples/hooks/_config.js deleted file mode 100644 index ae9528a7fb..0000000000 --- a/test/stats/samples/hooks/_config.js +++ /dev/null @@ -1,10 +0,0 @@ -export default { - test(assert, stats) { - assert.deepEqual(stats.hooks, { - oncreate: true, - onDestroy: false, - onstate: false, - afterUpdate: false - }); - } -}; \ No newline at end of file diff --git a/test/stats/samples/hooks/input.html b/test/stats/samples/hooks/input.html deleted file mode 100644 index dd5e4ce63b..0000000000 --- a/test/stats/samples/hooks/input.html +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file