angular-docs-cn/packages/tsconfig-test.json
Greg Magolan 29f5582af5 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
2019-07-01 14:16:42 -07:00

18 lines
368 B
JSON

/**
* Root tsconfig file for use in all tests.
*/
{
"extends": "./tsconfig-build.json",
"compilerOptions": {
"types": ["node", "jasmine"],
"plugins": [{
"name": "@bazel/tsetse",
"disabledRules": ["must-use-promises"],
}],
},
"bazelOptions": {
"suppressTsconfigOverrideWarnings": true,
"devmodeTargetOverride": "es5"
}
}