refactor(benchpress): added tsconfig to ts_library rules and awaited floating promises (#35147)

* Note: we specify our own tsconfig bc the default tsconfig we provide for ts_library disables the must-use-promises rule

PR Close #35147
This commit is contained in:
Wagner Maciel
2020-02-05 09:39:29 -08:00
committed by Kara Erickson
parent 5efe9be051
commit 60471c092f
12 changed files with 26 additions and 15 deletions

View File

@ -13,7 +13,7 @@ import {openTreeBenchmark} from './test_utils';
describe('tree benchmark detect changes', () => {
it('should work for detectChanges', async() => {
openTreeBenchmark();
$('#detectChanges').click();
await $('#detectChanges').click();
expect($('#numberOfChecks').getText()).toContain('10');
});
});