refactor(benchpress): linted (#35147)

PR Close #35147
This commit is contained in:
Wagner Maciel 2020-02-04 16:18:31 -08:00 committed by Kara Erickson
parent 5ca7c2d40f
commit 5efe9be051
2 changed files with 11 additions and 6 deletions

View File

@ -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: []});
});
});

View File

@ -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(),
});
});
});