Closed Bug 1600230 Opened 5 years ago Closed 5 years ago

Can't run mocha test on windows

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(firefox72 fixed)

RESOLVED FIXED
Firefox 72
Tracking Status
firefox72 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

No description provided.

Since __dirname returns an OS sensitive paths,
the require-hacker was not finding modules
because of mixed usage of slashes and anti-slashes.
This is fixed by forcing the path in getModule
to only use slashes.

Assignee: nobody → nchevobbe
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f739f8d3a9ab
Allow running mocha tests on Windows. r=Honza.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: