-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Milestone
Description
I found a mocha bug that is fixed with the following hack, so you might want to add this to your sample index.ts files:
export function run(testsRoot: string, cb: (error: any, failures?: number) => void): void {
// Create the mocha test
const mocha = new Mocha({
ui: 'tdd'
});
if (process.platform === 'win32') {
// workaround for https://github.com/microsoft/vscode-test/issues/134
// see also https://github.com/mochajs/mocha/issues/4851
testsRoot = testsRoot.toLowerCase();
}Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug