Skip to content

Commit

Permalink
fix: updated context mock in activation test
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-R-Perkins committed Jul 16, 2024
1 parent d4d6a19 commit 68161cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/ts_tests/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ suite('Extension Activation Test Suite', () => {

setup(() => {
sandbox = sinon.createSandbox();
contextMock = { subscriptions: [] };
contextMock = {
subscriptions: [],
extensionPath: '',
extensionUri: vscode.Uri.file('/'),
};
initializeSpy = sinon.spy(ZenExtension, 'activate');
lsClient = LSClient.getInstance();
sandbox.stub(EventBus, 'getInstance').returns(mockEventBus);
Expand Down

0 comments on commit 68161cd

Please sign in to comment.