mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
module search paths have changed
This commit is contained in:
@@ -94,7 +94,8 @@ describe('Module._nodeModulePaths', function () {
|
||||
it('includes paths outside of the resources path', function () {
|
||||
let modulePath = path.resolve('/foo')
|
||||
assert.deepEqual(Module._nodeModulePaths(modulePath), [
|
||||
path.join(modulePath, 'node_modules')
|
||||
path.join(modulePath, 'node_modules'),
|
||||
path.resolve('/node_modules')
|
||||
])
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user