angular-cn/packages/bazel/test/ngc-wrapped
Alex Rickabaugh 8f425701e4 test(ivy): enable //packages/bazel/test/ngc-wrapped/... tests for Ivy (#27470)
This commit allows //packages/bazel/test/ngc-wrapped/... tests to run
under Ivy mode. To get them to pass, it addresses a problem with the
way the tests are configured: both test targets have sloppy .d.ts
dependencies configured, leading to many type errors being generated
in TypeScript for the .d.ts files.

Due to the way ngc directs TypeScript emit, it avoids type-checking
.d.ts files and thus this issue does not surface. ngtsc does a whole-
program emit which results in full .d.ts type-checking by default,
catching this configuration issue.

To fix this, skipLibCheck is added to the tsconfig.jsons for these
tests, which tells TypeScript to skip type-checking of the .d.ts files,
avoiding this problem in a similar way to ngc.

PR Close #27470
2018-12-05 10:46:51 -08:00
..
empty test(ivy): enable //packages/bazel/test/ngc-wrapped/... tests for Ivy (#27470) 2018-12-05 10:46:51 -08:00
BUILD.bazel test(ivy): add/remove fixmes in packages/bazel/test/ngc-wrapped (#27302) 2018-11-29 21:32:49 -08:00
index_test.ts test(ivy): enable //packages/bazel/test/ngc-wrapped/... tests for Ivy (#27470) 2018-12-05 10:46:51 -08:00
test_support.ts build: update node type version (#25862) 2018-09-18 13:06:28 -07:00
tsconfig.json fix(compiler): add first bazel test for `ng_module` (#19703) 2017-10-17 15:18:31 -07:00
tsconfig_template.ts test(ivy): enable //packages/bazel/test/ngc-wrapped/... tests for Ivy (#27470) 2018-12-05 10:46:51 -08:00