mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Assert that resolved atom shell module paths exist
This commit is contained in:
@@ -14,6 +14,7 @@ describe 'ModuleCache', ->
|
||||
|
||||
for builtinName, builtinPath of builtins
|
||||
expect(require.resolve(builtinName)).toBe builtinPath
|
||||
expect(fs.isFileSync(require.resolve(builtinName)))
|
||||
|
||||
expect(Module._findPath.callCount).toBe 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user