File tree 5 files changed +1
-21
lines changed
packages/schematics/angular
5 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ describe('Application Schematic', () => {
88
88
expect ( references ) . toEqual ( [
89
89
{ path : './projects/foo/tsconfig.app.json' } ,
90
90
{ path : './projects/foo/tsconfig.spec.json' } ,
91
- { path : './projects/foo/e2e/tsconfig.json' } ,
92
91
] ) ;
93
92
} ) ;
94
93
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import {
18
18
url ,
19
19
} from '@angular-devkit/schematics' ;
20
20
import { relativePathToWorkspaceRoot } from '../utility/paths' ;
21
- import { addTsConfigProjectReferences , verifyBaseTsConfigExists } from '../utility/tsconfig' ;
21
+ import { verifyBaseTsConfigExists } from '../utility/tsconfig' ;
22
22
import { getWorkspace , updateWorkspace } from '../utility/workspace' ;
23
23
import { Builders } from '../utility/workspace-models' ;
24
24
import { Schema as E2eOptions } from './schema' ;
@@ -68,9 +68,6 @@ export default function (options: E2eOptions): Rule {
68
68
} ) ,
69
69
move ( root ) ,
70
70
] ) ) ,
71
- addTsConfigProjectReferences ( [
72
- e2eTsConfig ,
73
- ] ) ,
74
71
] ) ;
75
72
} ;
76
73
}
Original file line number Diff line number Diff line change @@ -82,19 +82,6 @@ describe('Application Schematic', () => {
82
82
expect ( content ) . toMatch ( / 🌮 - 🌯 / ) ;
83
83
} ) ;
84
84
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
-
98
85
describe ( 'workspace config' , ( ) => {
99
86
it ( 'should add e2e targets for the app' , async ( ) => {
100
87
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', () => {
273
273
expect ( references ) . toEqual ( [
274
274
{ path : './tsconfig.app.json' } ,
275
275
{ path : './tsconfig.spec.json' } ,
276
- { path : './e2e/tsconfig.json' } ,
277
276
{ path : './projects/bar/tsconfig.app.json' } ,
278
277
{ path : './projects/bar/tsconfig.spec.json' } ,
279
- { path : './projects/bar/e2e/tsconfig.json' } ,
280
278
{ path : './tsconfig.server.json' } ,
281
279
] ) ;
282
280
} ) ;
Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ describe('Web Worker Schematic', () => {
162
162
expect ( references ) . toEqual ( [
163
163
{ path : './projects/bar/tsconfig.app.json' } ,
164
164
{ path : './projects/bar/tsconfig.spec.json' } ,
165
- { path : './projects/bar/e2e/tsconfig.json' } ,
166
165
{ path : './projects/bar/tsconfig.worker.json' } ,
167
166
] ) ;
168
167
} ) ;
You can’t perform that action at this time.
0 commit comments