Skip to content

Commit 35b36b7

Browse files
committed
microsoft#56649 Add logs to diagnose
1 parent 20b2782 commit 35b36b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/services/configuration/test/electron-browser/configurationService.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ suite('WorkspaceContextService - Workspace', () => {
247247
const addedFolders = [{ uri: URI.file(path.join(workspaceDir, 'd')) }, { uri: URI.file(path.join(workspaceDir, 'c')) }];
248248
return testObject.addFolders(addedFolders)
249249
.then(() => {
250-
assert.ok(target.calledOnce);
250+
assert.equal(target.callCount, 1, `Should be called only once but called ${target.callCount} times`);
251251
const actual = <IWorkspaceFoldersChangeEvent>target.args[0][0];
252252
assert.deepEqual(actual.added.map(r => r.uri.toString()), addedFolders.map(a => a.uri.toString()));
253253
assert.deepEqual(actual.removed, []);

0 commit comments

Comments
 (0)