build: disable must-use-promises check in ts_library tsetse for tests as... (#31325)

...tsetse now falsely asserting on  some lines in a few tests such as packages/core/schematics/test/injectable_pipe_migration_spec.ts.

```
    await runMigration();
    expect(tree.readContent('/index.ts'))
```

it asserts that "await is required on promise" on the 2nd line when there is no promise there

PR Close #31325
This commit is contained in:
Greg Magolan 2019-06-19 04:17:11 -07:00 committed by Alex Rickabaugh
parent 63bdfca580
commit 29f5582af5
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@
"extends": "./tsconfig-build.json", "extends": "./tsconfig-build.json",
"compilerOptions": { "compilerOptions": {
"types": ["node", "jasmine"], "types": ["node", "jasmine"],
"plugins": [{
"name": "@bazel/tsetse",
"disabledRules": ["must-use-promises"],
}],
}, },
"bazelOptions": { "bazelOptions": {
"suppressTsconfigOverrideWarnings": true, "suppressTsconfigOverrideWarnings": true,