File tree Expand file tree Collapse file tree 5 files changed +1
-21
lines changed
packages/schematics/angular Expand file tree Collapse file tree 5 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ describe('Application Schematic', () => {
8888 expect ( references ) . toEqual ( [
8989 { path : './projects/foo/tsconfig.app.json' } ,
9090 { path : './projects/foo/tsconfig.spec.json' } ,
91- { path : './projects/foo/e2e/tsconfig.json' } ,
9291 ] ) ;
9392 } ) ;
9493
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import {
1818 url ,
1919} from '@angular-devkit/schematics' ;
2020import { relativePathToWorkspaceRoot } from '../utility/paths' ;
21- import { addTsConfigProjectReferences , verifyBaseTsConfigExists } from '../utility/tsconfig' ;
21+ import { verifyBaseTsConfigExists } from '../utility/tsconfig' ;
2222import { getWorkspace , updateWorkspace } from '../utility/workspace' ;
2323import { Builders } from '../utility/workspace-models' ;
2424import { Schema as E2eOptions } from './schema' ;
@@ -68,9 +68,6 @@ export default function (options: E2eOptions): Rule {
6868 } ) ,
6969 move ( root ) ,
7070 ] ) ) ,
71- addTsConfigProjectReferences ( [
72- e2eTsConfig ,
73- ] ) ,
7471 ] ) ;
7572 } ;
7673}
Original file line number Diff line number Diff line change @@ -82,19 +82,6 @@ describe('Application Schematic', () => {
8282 expect ( content ) . toMatch ( / 🌮 - 🌯 / ) ;
8383 } ) ;
8484
85- it ( 'should add reference in solution style tsconfig' , async ( ) => {
86- const tree = await schematicRunner . runSchematicAsync ( 'e2e' , defaultOptions , applicationTree )
87- . toPromise ( ) ;
88-
89- // tslint:disable-next-line:no-any
90- const { references } = parseJson ( tree . readContent ( '/tsconfig.json' ) . toString ( ) , JsonParseMode . Loose ) as any ;
91- expect ( references ) . toEqual ( [
92- { path : './projects/foo/tsconfig.app.json' } ,
93- { path : './projects/foo/tsconfig.spec.json' } ,
94- { path : './projects/foo/e2e/tsconfig.json' } ,
95- ] ) ;
96- } ) ;
97-
9885 describe ( 'workspace config' , ( ) => {
9986 it ( 'should add e2e targets for the app' , async ( ) => {
10087 const tree = await schematicRunner . runSchematicAsync ( 'e2e' , defaultOptions , applicationTree )
Original file line number Diff line number Diff line change @@ -273,10 +273,8 @@ describe('Universal Schematic', () => {
273273 expect ( references ) . toEqual ( [
274274 { path : './tsconfig.app.json' } ,
275275 { path : './tsconfig.spec.json' } ,
276- { path : './e2e/tsconfig.json' } ,
277276 { path : './projects/bar/tsconfig.app.json' } ,
278277 { path : './projects/bar/tsconfig.spec.json' } ,
279- { path : './projects/bar/e2e/tsconfig.json' } ,
280278 { path : './tsconfig.server.json' } ,
281279 ] ) ;
282280 } ) ;
Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ describe('Web Worker Schematic', () => {
162162 expect ( references ) . toEqual ( [
163163 { path : './projects/bar/tsconfig.app.json' } ,
164164 { path : './projects/bar/tsconfig.spec.json' } ,
165- { path : './projects/bar/e2e/tsconfig.json' } ,
166165 { path : './projects/bar/tsconfig.worker.json' } ,
167166 ] ) ;
168167 } ) ;
You can’t perform that action at this time.
0 commit comments