File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
extensions/vscode-api-tests/src/singlefolder-tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ import { assertNoRpc } from '../utils';
136
136
}
137
137
await endEvent ;
138
138
139
- ok ( events . length >= 3 ) ;
139
+ ok ( events . length >= 3 , `should have at least 3 events ${ JSON . stringify ( events ) } ` ) ;
140
140
strictEqual ( events [ 0 ] , 'start' ) ;
141
141
strictEqual ( events . at ( - 1 ) , 'end' ) ;
142
142
for ( let i = 1 ; i < events . length - 1 ; i ++ ) {
@@ -156,7 +156,7 @@ import { assertNoRpc } from '../utils';
156
156
}
157
157
await endEvent ;
158
158
159
- ok ( events . join ( '' ) . includes ( 'hello' ) ) ;
159
+ ok ( events . join ( '' ) . includes ( 'hello' ) , `should include 'hello' in ${ JSON . stringify ( events ) } ` ) ;
160
160
161
161
await closeTerminalAsync ( terminal ) ;
162
162
} ) ;
@@ -191,7 +191,7 @@ import { assertNoRpc } from '../utils';
191
191
] ) ;
192
192
await endEvent ;
193
193
194
- ok ( firstReadEvents . join ( '' ) . includes ( 'hello' ) ) ;
194
+ ok ( firstReadEvents . join ( '' ) . includes ( 'hello' ) , `should include 'hello' in ${ JSON . stringify ( firstReadEvents ) } ` ) ;
195
195
deepStrictEqual ( firstReadEvents , secondReadEvents ) ;
196
196
197
197
await closeTerminalAsync ( terminal ) ;
You can’t perform that action at this time.
0 commit comments