File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -240,9 +240,14 @@ describe('Entity Schematic', () => {
240
240
241
241
describe ( 'View engine' , ( ) => {
242
242
beforeEach ( ( ) => {
243
- const tsConfig = JSON . parse (
244
- appTree . readContent ( './projects/bar/tsconfig.app.json' )
245
- ) ;
243
+ // remove the first line comment from the json file
244
+ const json = appTree
245
+ . readContent ( './projects/bar/tsconfig.app.json' )
246
+ . split ( '\n' )
247
+ . slice ( 1 )
248
+ . join ( '\n' ) ;
249
+ const tsConfig = JSON . parse ( json ) ;
250
+
246
251
tsConfig . angularCompilerOptions = tsConfig . angularCompilerOptions || { } ;
247
252
tsConfig . angularCompilerOptions . enableIvy = false ;
248
253
appTree . overwrite (
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
12
12
defaultAppOptions ,
13
13
} from '../../../schematics-core/testing' ;
14
14
15
- describe ( 'Reducer Schematic' , ( ) => {
15
+ fdescribe ( 'Reducer Schematic' , ( ) => {
16
16
const schematicRunner = new SchematicTestRunner (
17
17
'@ngrx/schematics' ,
18
18
path . join ( __dirname , '../../collection.json' )
@@ -89,9 +89,14 @@ describe('Reducer Schematic', () => {
89
89
90
90
describe ( 'View engine' , ( ) => {
91
91
beforeEach ( ( ) => {
92
- const tsConfig = JSON . parse (
93
- appTree . readContent ( './projects/bar/tsconfig.app.json' )
94
- ) ;
92
+ // remove the first line comment from the json file
93
+ const json = appTree
94
+ . readContent ( './projects/bar/tsconfig.app.json' )
95
+ . split ( '\n' )
96
+ . slice ( 1 )
97
+ . join ( '\n' ) ;
98
+ const tsConfig = JSON . parse ( json ) ;
99
+
95
100
tsConfig . angularCompilerOptions = tsConfig . angularCompilerOptions || { } ;
96
101
tsConfig . angularCompilerOptions . enableIvy = false ;
97
102
appTree . overwrite (
You can’t perform that action at this time.
0 commit comments