File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ describe('conflict detection and resolution', () => {
72
72
ensureExitCode : 0 ,
73
73
} ) . jsonOutput . result ;
74
74
// profile and customApplication
75
- expect ( result ) . to . have . lengthOf ( 2 ) ;
75
+ expect ( result , JSON . stringify ( result ) ) . to . have . lengthOf ( 2 ) ;
76
76
} ) ;
77
77
it ( 'edits a local file' , async ( ) => {
78
78
const filePath = path . join (
@@ -91,7 +91,7 @@ describe('conflict detection and resolution', () => {
91
91
it ( 'can see the conflict in status' , ( ) => {
92
92
const result = execCmd < StatusResult [ ] > ( replaceRenamedCommands ( 'force:source:status --json' ) , { ensureExitCode : 0 } )
93
93
. jsonOutput . result ;
94
- expect ( result ) . to . have . lengthOf ( 3 ) ;
94
+ expect ( result , JSON . stringify ( result ) ) . to . have . lengthOf ( 3 ) ;
95
95
result . filter ( ( app ) => app . type === 'CustomApplication' ) . map ( ( app ) => expect ( app . state ) . to . include ( '(Conflict)' ) ) ;
96
96
} ) ;
97
97
You can’t perform that action at this time.
0 commit comments