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('class bindings perf', () => {
it('should work for update', done => {
it('should work for update', async() => {
browser.rootEl = '#root';
runBenchmark({
id: 'create',
@ -20,10 +20,10 @@ describe('class bindings perf', () => {
params: [],
prepare: () => $('#destroy').click(),
work: () => $('#create').click()
}).then(done, done.fail);
});
});
it('should work for update', done => {
it('should work for update', async() => {
browser.rootEl = '#root';
runBenchmark({
id: 'update',
@ -32,7 +32,7 @@ describe('class bindings perf', () => {
params: [],
prepare: () => $('#create').click(),
work: () => $('#update').click()
}).then(done, done.fail);
});
});
});