From 57fc3deaeda3f169e4d7fe4a2b41a9bfe07b31fb Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 15 Oct 2014 13:12:42 -0700 Subject: [PATCH] Assert that resolved atom shell module paths exist --- spec/module-cache-spec.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/module-cache-spec.coffee b/spec/module-cache-spec.coffee index e75a1cf56..5cf6bd2fd 100644 --- a/spec/module-cache-spec.coffee +++ b/spec/module-cache-spec.coffee @@ -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