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
This commit is contained in:
Brandon 2019-02-11 20:40:19 +00:00 committed by Miško Hevery
parent 99e3a04ea2
commit 1e64f37257
2 changed files with 14 additions and 2 deletions

View File

@ -34,6 +34,8 @@ const fixmeIvyExamples = [
// fixmeIvy('unknown') Error: Internal Error: The name heroForm is already defined in scope to be // fixmeIvy('unknown') Error: Internal Error: The name heroForm is already defined in scope to be
// [object Object] // [object Object]
'forms', '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) // fixmeIvy('unknown') app fails at runtime due to missing external service (goog is undefined)
'i18n', 'i18n',
// fixmeIvy('unknown') ERROR in HostResourceResolver: could not resolve app/app.component.css // 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. // `--no-webdriver-update` is needed to preserve the ChromeDriver version already installed.
const config = loadExampleConfig(appDir); const config = loadExampleConfig(appDir);
const commands = config.e2e || 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}) => { const e2eSpawnPromise = commands.reduce((prevSpawnPromise, {cmd, args}) => {
return prevSpawnPromise.then(() => { return prevSpawnPromise.then(() => {

View File

@ -6,7 +6,17 @@
}, },
"exclude": [ "exclude": [
"test.ts", "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": { "angularCompilerOptions": {
"enableIvy": "ngtsc", "enableIvy": "ngtsc",