From c2a24b42411873f90255386b5fa77486ce70bd68 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 15 Nov 2017 07:59:09 -0800 Subject: [PATCH] fix(bazel): adjust mock of tsconfig for ng_module rule unit test (#20175) Due to https://github.com/bazelbuild/rules_typescript/commit/7f33f01b72e61f8629d129c46998d96f5bd1977e PR Close #20175 --- packages/bazel/test/ngc-wrapped/tsconfig_template.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/bazel/test/ngc-wrapped/tsconfig_template.ts b/packages/bazel/test/ngc-wrapped/tsconfig_template.ts index b99f45a1c3..b7dfcba036 100644 --- a/packages/bazel/test/ngc-wrapped/tsconfig_template.ts +++ b/packages/bazel/test/ngc-wrapped/tsconfig_template.ts @@ -64,6 +64,10 @@ export function createTsConfig(options: TsConfigOptions) { 'es5Mode': true, 'manifest': createManifestPath(options), 'compilationTargetSrc': options.compilationTargetSrc, + // Override this property from the real tsconfig we read + // Because we ask for :empty_tsconfig.json, we get the ES6 version which + // expects to write externs, yet that doesn't work under this fixture. + 'tsickleExternsPath': '', }, 'files': options.files, 'angularCompilerOptions': {