File tree 1 file changed +2
-2
lines changed
tests/e2e/tests/generate/component
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { oneLine } from 'common-tags';
5
5
export default function ( ) {
6
6
return ng ( 'generate' , 'component' , 'test-component' )
7
7
. then ( ( output ) => {
8
- if ( ! output . match ( / u p d a t e s r c [ \\ | \/ ] a p p [ \\ | \/ ] a p p .m o d u l e .t s / ) ) {
8
+ if ( ! output . stdout . match ( / u p d a t e s r c [ \\ | \/ ] a p p [ \\ | \/ ] a p p .m o d u l e .t s / ) ) {
9
9
throw new Error ( oneLine `
10
10
Expected to match
11
11
"update src${ path . sep } app${ path . sep } app.module.ts"
@@ -14,7 +14,7 @@ export default function () {
14
14
} )
15
15
. then ( ( ) => ng ( 'generate' , 'component' , 'test-component' ) )
16
16
. then ( ( output ) => {
17
- if ( ! output . match ( / i d e n t i c a l s r c [ \\ | \/ ] a p p [ \\ | \/ ] a p p .m o d u l e .t s / ) ) {
17
+ if ( ! output . stdout . match ( / i d e n t i c a l s r c [ \\ | \/ ] a p p [ \\ | \/ ] a p p .m o d u l e .t s / ) ) {
18
18
throw new Error ( oneLine `
19
19
Expected to match
20
20
"identical src${ path . sep } app${ path . sep } app.module.ts"
You can’t perform that action at this time.
0 commit comments