Skip to content

Fixed unit tests when run on windows#549

Open
sid-srini wants to merge 2 commits intooracle:mainfrom
sid-srini:fix-windows-unit-tests
Open

Fixed unit tests when run on windows#549
sid-srini wants to merge 2 commits intooracle:mainfrom
sid-srini:fix-windows-unit-tests

Conversation

@sid-srini
Copy link
Member

No description provided.

@sid-srini sid-srini requested a review from Achal1607 February 4, 2026 09:19
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 4, 2026
let mockedEnv: typeof vscode.env;
let mockedL10n: typeof vscode.l10n;
let currentDir = __dirname.replace("/out/", "/src/");
let currentDir = __dirname.replace(slash + "out" + slash, slash + "src" + slash);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any method in os or path package that we can use, so that it is easier for maintainence?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pointer. I have updated it to now use path.sep instead.

@sid-srini sid-srini force-pushed the fix-windows-unit-tests branch from 8b59465 to f3e12d4 Compare February 5, 2026 06:08
@sid-srini sid-srini force-pushed the fix-windows-unit-tests branch from f3e12d4 to 1498120 Compare February 5, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants