refactor(benchpress): made all it callbacks async (#35147)

PR Close #35147
This commit is contained in:
Wagner Maciel
2020-02-04 13:53:57 -08:00
committed by Kara Erickson
parent 26b17aee14
commit 5ca7c2d40f
19 changed files with 80 additions and 81 deletions

View File

@ -11,7 +11,7 @@ import {runBenchmark} from '../../../e2e_util/perf_util';
describe('benchmarks', () => {
it('should work for create', done => {
it('should work for create', async() => {
browser.rootEl = '#root';
runBenchmark({
id: 'create',
@ -20,7 +20,7 @@ describe('benchmarks', () => {
params: [],
prepare: () => $('#reset').click(),
work: () => $('#init').click()
}).then(done, done.fail);
});
});
});