From 1e64f37257f921bb892b572ce1f46e94c9fec5b4 Mon Sep 17 00:00:00 2001 From: Brandon Date: Mon, 11 Feb 2019 20:40:19 +0000 Subject: [PATCH] fix(docs-infra): add progression files to exclude list for docs examples (#28650) Also disables Http guide under Ivy tests with documented error PR Close #28650 --- aio/tools/examples/run-example-e2e.js | 4 +++- .../shared/boilerplate/ivy/cli/src/tsconfig.app.json | 12 +++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/aio/tools/examples/run-example-e2e.js b/aio/tools/examples/run-example-e2e.js index 4aea69461e..a7063fc430 100644 --- a/aio/tools/examples/run-example-e2e.js +++ b/aio/tools/examples/run-example-e2e.js @@ -34,6 +34,8 @@ const fixmeIvyExamples = [ // fixmeIvy('unknown') Error: Internal Error: The name heroForm is already defined in scope to be // [object Object] 'forms', + // fixmeIvy('unknown') ERROR Error: Unable to find context associated with [object HTMLInputElement] + 'http', // fixmeIvy('unknown') app fails at runtime due to missing external service (goog is undefined) 'i18n', // fixmeIvy('unknown') ERROR in HostResourceResolver: could not resolve app/app.component.css @@ -235,7 +237,7 @@ function runE2eTestsCLI(appDir, outputFile) { // `--no-webdriver-update` is needed to preserve the ChromeDriver version already installed. const config = loadExampleConfig(appDir); const commands = config.e2e || - [{cmd: 'yarn', args: ['e2e', (argv.ivy ? '--prod' : ''), '--no-webdriver-update']}]; + [{cmd: 'yarn', args: ['e2e', '--prod', '--no-webdriver-update']}]; const e2eSpawnPromise = commands.reduce((prevSpawnPromise, {cmd, args}) => { return prevSpawnPromise.then(() => { diff --git a/aio/tools/examples/shared/boilerplate/ivy/cli/src/tsconfig.app.json b/aio/tools/examples/shared/boilerplate/ivy/cli/src/tsconfig.app.json index 5cceefc388..d4d4aad743 100644 --- a/aio/tools/examples/shared/boilerplate/ivy/cli/src/tsconfig.app.json +++ b/aio/tools/examples/shared/boilerplate/ivy/cli/src/tsconfig.app.json @@ -6,7 +6,17 @@ }, "exclude": [ "test.ts", - "**/*.spec.ts" + "**/*.spec.ts", + "**/*.avoid.ts", + "**/*.0.ts", + "**/*.1.ts", + "**/*.1b.ts", + "**/*.2.ts", + "**/*.3.ts", + "**/*.4.ts", + "**/*.5.ts", + "**/*.6.ts", + "**/*.7.ts" ], "angularCompilerOptions": { "enableIvy": "ngtsc",