fix(bazel): adjust mock of tsconfig for ng_module rule unit test (#20175)

Due to 7f33f01b72

PR Close #20175
This commit is contained in:
Alex Eagle 2017-11-15 07:59:09 -08:00 committed by Miško Hevery
parent a9f3e2bd95
commit c2a24b4241
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,10 @@ export function createTsConfig(options: TsConfigOptions) {
'es5Mode': true, 'es5Mode': true,
'manifest': createManifestPath(options), 'manifest': createManifestPath(options),
'compilationTargetSrc': options.compilationTargetSrc, '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, 'files': options.files,
'angularCompilerOptions': { 'angularCompilerOptions': {