Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion loaders/unit-test-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function unitTestLoader(source, map) {
const opts = this.getOptions();
const testPathRelativeToAppPath = relative(opts.appPath, this.resourcePath);
const ext = extname(testPathRelativeToAppPath);
const loadPath = testPathRelativeToAppPath.replace(ext, "").replace(sep, '/'); // use forward slash always
const loadPath = testPathRelativeToAppPath.replace(ext, "").split(sep).join('/'); // use forward slash always

if (loadPath) {
const platformExt = loadPath.split('.').slice(-1)[0];
Expand Down