diff --git a/modules/benchmarks/e2e_test/old/static_tree_perf.ts b/modules/benchmarks/e2e_test/old/static_tree_perf.ts index bf71a39b68..33f7ac3b01 100644 --- a/modules/benchmarks/e2e_test/old/static_tree_perf.ts +++ b/modules/benchmarks/e2e_test/old/static_tree_perf.ts @@ -25,9 +25,12 @@ describe('ng2 static tree benchmark', function() { }); it('should log the ng stats (update)', async() => { - runClickBenchmark( - {url: URL, buttons: ['#ng2CreateDom'], id: 'ng2.static.tree.update', params: []}) - ; + runClickBenchmark({ + url: URL, + buttons: ['#ng2CreateDom'], + id: 'ng2.static.tree.update', + params: [], + }); }); it('should log the baseline stats', async() => { @@ -41,8 +44,7 @@ describe('ng2 static tree benchmark', function() { it('should log the baseline stats (update)', async() => { runClickBenchmark( - {url: URL, buttons: ['#baselineCreateDom'], id: 'baseline.static.tree.update', params: []}) - ; + {url: URL, buttons: ['#baselineCreateDom'], id: 'baseline.static.tree.update', params: []}); }); }); diff --git a/modules/benchmarks/src/tree/tree.perf-spec.ts b/modules/benchmarks/src/tree/tree.perf-spec.ts index 4eaa3ebcdd..1dd15e3097 100644 --- a/modules/benchmarks/src/tree/tree.perf-spec.ts +++ b/modules/benchmarks/src/tree/tree.perf-spec.ts @@ -41,6 +41,9 @@ describe('tree benchmark perf', () => { }); it('should work for update', async() => { - runTreeBenchmark({id: 'update', work: () => $('#createDom').click()}); + runTreeBenchmark({ + id: 'update', + work: () => $('#createDom').click(), + }); }); });