@@ -45,7 +45,7 @@ describe('Basic end-to-end Workflow', function () {
45
45
it ( 'Can create new project using `ng new test-project`' , function ( ) {
46
46
this . timeout ( 4200000 ) ;
47
47
48
- return ng ( [ 'new' , 'test-project' , '--silent' ] ) . then ( function ( ) {
48
+ return ng ( [ 'new' , 'test-project' ] ) . then ( function ( ) {
49
49
expect ( existsSync ( path . join ( root , 'test-project' ) ) ) ;
50
50
} ) ;
51
51
} ) ;
@@ -62,7 +62,7 @@ describe('Basic end-to-end Workflow', function () {
62
62
63
63
// Can't user the `ng` helper because somewhere the environment gets
64
64
// stuck to the first build done
65
- sh . exec ( 'ng build --environment=production --silent ' ) ;
65
+ sh . exec ( 'ng build --environment=production' ) ;
66
66
expect ( existsSync ( path . join ( process . cwd ( ) , 'dist' ) ) ) . to . be . equal ( true ) ;
67
67
var appBundlePath = path . join ( process . cwd ( ) , 'dist' , 'app' , 'index.js' ) ;
68
68
var appBundleContent = fs . readFileSync ( appBundlePath , { encoding : 'utf8' } ) ;
@@ -75,7 +75,7 @@ describe('Basic end-to-end Workflow', function () {
75
75
it ( 'Can run `ng build` in created project' , function ( ) {
76
76
this . timeout ( 420000 ) ;
77
77
78
- return ng ( [ 'build' , '--silent' ] )
78
+ return ng ( [ 'build' ] )
79
79
. catch ( ( ) => {
80
80
throw new Error ( 'Build failed.' ) ;
81
81
} )
@@ -192,7 +192,7 @@ describe('Basic end-to-end Workflow', function () {
192
192
const tmpFileLocation = path . join ( process . cwd ( ) , 'dist' , 'test.abc' ) ;
193
193
fs . writeFileSync ( tmpFile , 'hello world' ) ;
194
194
195
- return ng ( [ 'build' , '--silent' ] )
195
+ return ng ( [ 'build' ] )
196
196
. then ( function ( ) {
197
197
expect ( existsSync ( tmpFileLocation ) ) . to . be . equal ( true ) ;
198
198
} )
@@ -201,7 +201,7 @@ describe('Basic end-to-end Workflow', function () {
201
201
} ) ;
202
202
} ) ;
203
203
204
- it ( 'Installs sass support successfully' , function ( ) {
204
+ it . skip ( 'Installs sass support successfully' , function ( ) {
205
205
this . timeout ( 420000 ) ;
206
206
207
207
sh . exec ( 'npm install node-sass' , { silent : true } ) ;
@@ -218,15 +218,15 @@ describe('Basic end-to-end Workflow', function () {
218
218
let scssExample = '.outer {\n .inner { background: #fff; }\n }' ;
219
219
fs . writeFileSync ( scssFile , scssExample , 'utf8' ) ;
220
220
221
- sh . exec ( 'ng build --silent ' ) ;
221
+ sh . exec ( 'ng build' ) ;
222
222
let destCss = path . join ( process . cwd ( ) , 'dist' , 'app' , 'test-component' , 'test-component.component.css' ) ;
223
223
expect ( existsSync ( destCss ) ) . to . be . equal ( true ) ;
224
224
let contents = fs . readFileSync ( destCss , 'utf8' ) ;
225
225
expect ( contents ) . to . include ( '.outer .inner' ) ;
226
226
227
227
sh . rm ( '-f' , destCss ) ;
228
228
process . chdir ( 'src' ) ;
229
- sh . exec ( 'ng build --silent ' ) ;
229
+ sh . exec ( 'ng build' ) ;
230
230
expect ( existsSync ( destCss ) ) . to . be . equal ( true ) ;
231
231
contents = fs . readFileSync ( destCss , 'utf8' ) ;
232
232
expect ( contents ) . to . include ( '.outer .inner' ) ;
@@ -236,7 +236,7 @@ describe('Basic end-to-end Workflow', function () {
236
236
} ) ;
237
237
} ) ;
238
238
239
- it ( 'Installs less support successfully' , function ( ) {
239
+ it . skip ( 'Installs less support successfully' , function ( ) {
240
240
this . timeout ( 420000 ) ;
241
241
242
242
sh . exec ( 'npm install less' , { silent : true } ) ;
@@ -253,15 +253,15 @@ describe('Basic end-to-end Workflow', function () {
253
253
let lessExample = '.outer {\n .inner { background: #fff; }\n }' ;
254
254
fs . writeFileSync ( lessFile , lessExample , 'utf8' ) ;
255
255
256
- sh . exec ( 'ng build --silent ' ) ;
256
+ sh . exec ( 'ng build' ) ;
257
257
let destCss = path . join ( process . cwd ( ) , 'dist' , 'app' , 'test-component' , 'test-component.component.css' ) ;
258
258
expect ( existsSync ( destCss ) ) . to . be . equal ( true ) ;
259
259
let contents = fs . readFileSync ( destCss , 'utf8' ) ;
260
260
expect ( contents ) . to . include ( '.outer .inner' ) ;
261
261
262
262
sh . rm ( '-f' , destCss ) ;
263
263
process . chdir ( 'src' ) ;
264
- sh . exec ( 'ng build --silent ' ) ;
264
+ sh . exec ( 'ng build' ) ;
265
265
expect ( existsSync ( destCss ) ) . to . be . equal ( true ) ;
266
266
contents = fs . readFileSync ( destCss , 'utf8' ) ;
267
267
expect ( contents ) . to . include ( '.outer .inner' ) ;
@@ -271,7 +271,7 @@ describe('Basic end-to-end Workflow', function () {
271
271
} ) ;
272
272
} ) ;
273
273
274
- it ( 'Installs stylus support successfully' , function ( ) {
274
+ it . skip ( 'Installs stylus support successfully' , function ( ) {
275
275
this . timeout ( 420000 ) ;
276
276
277
277
sh . exec ( 'npm install stylus' , { silent : true } ) ;
@@ -287,15 +287,15 @@ describe('Basic end-to-end Workflow', function () {
287
287
let stylusExample = '.outer {\n .inner { background: #fff; }\n }' ;
288
288
fs . writeFileSync ( stylusFile , stylusExample , 'utf8' ) ;
289
289
290
- sh . exec ( 'ng build --silent ' ) ;
290
+ sh . exec ( 'ng build' ) ;
291
291
let destCss = path . join ( process . cwd ( ) , 'dist' , 'app' , 'test-component' , 'test-component.component.css' ) ;
292
292
expect ( existsSync ( destCss ) ) . to . be . equal ( true ) ;
293
293
let contents = fs . readFileSync ( destCss , 'utf8' ) ;
294
294
expect ( contents ) . to . include ( '.outer .inner' ) ;
295
295
296
296
sh . rm ( '-f' , destCss ) ;
297
297
process . chdir ( 'src' ) ;
298
- sh . exec ( 'ng build --silent ' ) ;
298
+ sh . exec ( 'ng build' ) ;
299
299
expect ( existsSync ( destCss ) ) . to . be . equal ( true ) ;
300
300
contents = fs . readFileSync ( destCss , 'utf8' ) ;
301
301
expect ( contents ) . to . include ( '.outer .inner' ) ;
@@ -316,7 +316,7 @@ describe('Basic end-to-end Workflow', function () {
316
316
317
317
sh . rm ( '-rf' , path . join ( process . cwd ( ) , 'dist' ) ) ;
318
318
319
- return ng ( [ 'build' , '--silent' ] )
319
+ return ng ( [ 'build' ] )
320
320
. then ( function ( ) {
321
321
expect ( existsSync ( path . join ( process . cwd ( ) , 'dist' ) ) ) . to . be . equal ( true ) ;
322
322
} )
0 commit comments