diff --git a/packages/schematics/angular/application/index_spec.ts b/packages/schematics/angular/application/index_spec.ts index 7d2ddadc4de2..b6257b39eadf 100644 --- a/packages/schematics/angular/application/index_spec.ts +++ b/packages/schematics/angular/application/index_spec.ts @@ -88,7 +88,6 @@ describe('Application Schematic', () => { expect(references).toEqual([ { path: './projects/foo/tsconfig.app.json' }, { path: './projects/foo/tsconfig.spec.json' }, - { path: './projects/foo/e2e/tsconfig.json' }, ]); }); diff --git a/packages/schematics/angular/e2e/index.ts b/packages/schematics/angular/e2e/index.ts index 94d67c48c4f1..0789b7743d59 100644 --- a/packages/schematics/angular/e2e/index.ts +++ b/packages/schematics/angular/e2e/index.ts @@ -18,7 +18,7 @@ import { url, } from '@angular-devkit/schematics'; import { relativePathToWorkspaceRoot } from '../utility/paths'; -import { addTsConfigProjectReferences, verifyBaseTsConfigExists } from '../utility/tsconfig'; +import { verifyBaseTsConfigExists } from '../utility/tsconfig'; import { getWorkspace, updateWorkspace } from '../utility/workspace'; import { Builders } from '../utility/workspace-models'; import { Schema as E2eOptions } from './schema'; @@ -68,9 +68,6 @@ export default function (options: E2eOptions): Rule { }), move(root), ])), - addTsConfigProjectReferences([ - e2eTsConfig, - ]), ]); }; } diff --git a/packages/schematics/angular/e2e/index_spec.ts b/packages/schematics/angular/e2e/index_spec.ts index fb223f156e37..7bc7764490cf 100644 --- a/packages/schematics/angular/e2e/index_spec.ts +++ b/packages/schematics/angular/e2e/index_spec.ts @@ -82,19 +82,6 @@ describe('Application Schematic', () => { expect(content).toMatch(/🌮-🌯/); }); - it('should add reference in solution style tsconfig', async () => { - const tree = await schematicRunner.runSchematicAsync('e2e', defaultOptions, applicationTree) - .toPromise(); - - // tslint:disable-next-line:no-any - const { references } = parseJson(tree.readContent('/tsconfig.json').toString(), JsonParseMode.Loose) as any; - expect(references).toEqual([ - { path: './projects/foo/tsconfig.app.json' }, - { path: './projects/foo/tsconfig.spec.json' }, - { path: './projects/foo/e2e/tsconfig.json' }, - ]); - }); - describe('workspace config', () => { it('should add e2e targets for the app', async () => { const tree = await schematicRunner.runSchematicAsync('e2e', defaultOptions, applicationTree) diff --git a/packages/schematics/angular/universal/index_spec.ts b/packages/schematics/angular/universal/index_spec.ts index 516b9f1e3520..78e9d9de56f8 100644 --- a/packages/schematics/angular/universal/index_spec.ts +++ b/packages/schematics/angular/universal/index_spec.ts @@ -273,10 +273,8 @@ describe('Universal Schematic', () => { expect(references).toEqual([ { path: './tsconfig.app.json' }, { path: './tsconfig.spec.json' }, - { path: './e2e/tsconfig.json' }, { path: './projects/bar/tsconfig.app.json' }, { path: './projects/bar/tsconfig.spec.json' }, - { path: './projects/bar/e2e/tsconfig.json' }, { path: './tsconfig.server.json' }, ]); }); diff --git a/packages/schematics/angular/web-worker/index_spec.ts b/packages/schematics/angular/web-worker/index_spec.ts index b11a6ab1b799..2dc9b539ffc4 100644 --- a/packages/schematics/angular/web-worker/index_spec.ts +++ b/packages/schematics/angular/web-worker/index_spec.ts @@ -162,7 +162,6 @@ describe('Web Worker Schematic', () => { expect(references).toEqual([ { path: './projects/bar/tsconfig.app.json' }, { path: './projects/bar/tsconfig.spec.json' }, - { path: './projects/bar/e2e/tsconfig.json' }, { path: './projects/bar/tsconfig.worker.json' }, ]); });