module search paths have changed
This commit is contained in:
parent
1de2b77ee4
commit
f8bdc7437d
1 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,8 @@ describe('Module._nodeModulePaths', function () {
|
||||||
it('includes paths outside of the resources path', function () {
|
it('includes paths outside of the resources path', function () {
|
||||||
let modulePath = path.resolve('/foo')
|
let modulePath = path.resolve('/foo')
|
||||||
assert.deepEqual(Module._nodeModulePaths(modulePath), [
|
assert.deepEqual(Module._nodeModulePaths(modulePath), [
|
||||||
path.join(modulePath, 'node_modules')
|
path.join(modulePath, 'node_modules'),
|
||||||
|
path.resolve('/node_modules')
|
||||||
])
|
])
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue