Skip to content

Commit 5ec5663

Browse files
author
Václav Hála
committed
improve assertion
1 parent 934b3b0 commit 5ec5663

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/test/testing/testController/controller.unit.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,7 @@ suite('PythonTestController', () => {
248248
});
249249

250250
await controller.refreshTestData(addedFolder, { forceRefresh: true });
251-
252-
assert.strictEqual(fakeDiscoveryAdapter.called, true);
251+
assert.strictEqual(fakeDiscoveryAdapter.calledWith(addedFolder), true);
253252
});
254253

255254
test('filters Python projects to workspace and creates adapters for each', async () => {

0 commit comments

Comments
 (0)