Swap expectations
This commit is contained in:
@@ -57,7 +57,7 @@ describe('each file', () => {
|
|||||||
ext = '.js';
|
ext = '.js';
|
||||||
}
|
}
|
||||||
const mapped = provide.split('.').map(part => part.toLowerCase()).join(path.sep) + ext;
|
const mapped = provide.split('.').map(part => part.toLowerCase()).join(path.sep) + ext;
|
||||||
assert.equal(mapped, file, 'expected provide to be like the path: ' + file);
|
assert.equal(file, mapped, 'expected path to be like the provide: ' + file);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user