Fix tests for windows
parent
3a4beacdd0
commit
72277118d5
|
@ -50,7 +50,7 @@ export default class Collector {
|
|||
|
||||
// TODO: customize it.
|
||||
// XXX: replace with normal resolver and path-to-id converter.
|
||||
const id = pathToId(path.replace(/\/source\.js$/, ''));
|
||||
const id = pathToId(path.replace(/source\.js$/, ''));
|
||||
module = new Module(id, path);
|
||||
|
||||
const scope = this._global.extend(module);
|
||||
|
|
Loading…
Reference in New Issue