refactor(benchpress): made all it callbacks async (#35147)
PR Close #35147
This commit is contained in:

committed by
Kara Erickson

parent
26b17aee14
commit
5ca7c2d40f
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user