{"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/GlobalImageStub.js":{"metadata":{"mtime":1459983938000},"data":{"name":"GlobalImageStub","moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule GlobalImageStub\n */\n\n'use strict';\n\nexports.isGlobalImageStub = true;\n","dependencies":[],"id":"GlobalImageStub","source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule GlobalImageStub\n */\n\n'use strict';\n\nexports.isGlobalImageStub = true;\n"}}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/JSONFile.json":{"metadata":{"mtime":1416854437000},"data":{"moduleData":{"code":"{\"isJSONModule\": true}\n","dependencies":[],"source":"{\"isJSONModule\": true}\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/JSONFile.json"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/ManuallyMocked.js":{"metadata":{"mtime":1459983938000},"data":{"name":"ManuallyMocked","moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ManuallyMocked\n */\n\n'use strict';\n\nexports.isManualMockModule = false;\n","dependencies":["ManuallyMocked"],"id":"ManuallyMocked","source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ManuallyMocked\n */\n\n'use strict';\n\nexports.isManualMockModule = false;\n"}}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/ModuleWithSideEffects.js":{"metadata":{"mtime":1459983938000},"data":{"name":"ModuleWithSideEffects","moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ModuleWithSideEffects\n */\n\n'use strict';\n\nvar RegularModule = require('RegularModule');\n\nRegularModule.setModuleStateValue('Side effect value');\n\nexports.fn = () => '42';\n","dependencies":["RegularModule"],"id":"ModuleWithSideEffects","source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ModuleWithSideEffects\n */\n\n'use strict';\n\nvar RegularModule = require('RegularModule');\n\nRegularModule.setModuleStateValue('Side effect value');\n\nexports.fn = () => '42';\n"}}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/NativeModule.node":{"metadata":{"mtime":1425408711000},"data":{"moduleData":{"code":"","dependencies":[],"source":""},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/NativeModule.node"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/OnlyRequiredFromMock.js":{"metadata":{"mtime":1459983938000},"data":{"name":"OnlyRequiredFromMock","moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule OnlyRequiredFromMock\n */\n\n'use strict';\n\nexports.value = 'banana banana banana';\n","dependencies":[],"id":"OnlyRequiredFromMock","source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule OnlyRequiredFromMock\n */\n\n'use strict';\n\nexports.value = 'banana banana banana';\n"}}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/RegularModule.js":{"metadata":{"mtime":1459983938000},"data":{"name":"RegularModule","moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule RegularModule\n */\n\n'use strict';\n\n// For some reason thinks it's a strict violation.\nif (exports !== this) {\n  throw new Error('Invalid module context');\n}\n\nvar moduleStateValue = 'default';\n\nfunction setModuleStateValue(value) {\n  moduleStateValue = value;\n}\n\nfunction getModuleStateValue() {\n  return moduleStateValue;\n}\n\n() => {\n  // Make sure ModuleWithSideEffects is part of the module map for\n  // RegularModule.\n  require('ModuleWithSideEffects');\n};\n\nexports.getModuleStateValue = getModuleStateValue;\nexports.isRealModule = true;\nexports.setModuleStateValue = setModuleStateValue;\nexports.parent = module.parent;\nexports.jest = jest;\n","dependencies":["ModuleWithSideEffects"],"id":"RegularModule","source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule RegularModule\n */\n\n'use strict';\n\n// For some reason thinks it's a strict violation.\nif (exports !== this) {\n  throw new Error('Invalid module context');\n}\n\nvar moduleStateValue = 'default';\n\nfunction setModuleStateValue(value) {\n  moduleStateValue = value;\n}\n\nfunction getModuleStateValue() {\n  return moduleStateValue;\n}\n\n() => {\n  // Make sure ModuleWithSideEffects is part of the module map for\n  // RegularModule.\n  require('ModuleWithSideEffects');\n};\n\nexports.getModuleStateValue = getModuleStateValue;\nexports.isRealModule = true;\nexports.setModuleStateValue = setModuleStateValue;\nexports.parent = module.parent;\nexports.jest = jest;\n"}}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/RelativeImageStub.js":{"metadata":{"mtime":1459983938000},"data":{"name":"RelativeImageStub","moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule RelativeImageStub\n */\n\n'use strict';\n\nexports.isRelativeImageStub = true;\n","dependencies":[],"id":"RelativeImageStub","source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule RelativeImageStub\n */\n\n'use strict';\n\nexports.isRelativeImageStub = true;\n"}}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/mapped_module_test.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nmodule.exports = 'mapped_module';\n","dependencies":[],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nmodule.exports = 'mapped_module';\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/mapped_module_test.js"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/root.js":{"metadata":{"mtime":1459983938000},"data":{"name":"root","moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule root\n */\n\n'use strict';\n\nrequire('ManuallyMocked');\nrequire('ModuleWithSideEffects');\nrequire('RegularModule');\nrequire('ExclusivelyManualMock');\n\n// We only care about the static analysis, not about the runtime.\n() => {\n  require('image!not-really-a-module');\n  require('cat.png');\n  require('dog.png');\n};\n\nexports.jest = jest;\n","dependencies":["ManuallyMocked","ModuleWithSideEffects","RegularModule","ExclusivelyManualMock","image!not-really-a-module","cat.png","dog.png"],"id":"root","source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule root\n */\n\n'use strict';\n\nrequire('ManuallyMocked');\nrequire('ModuleWithSideEffects');\nrequire('RegularModule');\nrequire('ExclusivelyManualMock');\n\n// We only care about the static analysis, not about the runtime.\n() => {\n  require('image!not-really-a-module');\n  require('cat.png');\n  require('dog.png');\n};\n\nexports.jest = jest;\n"}}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/throwing-fn.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nmodule.exports = function sum() {\n  throw new Error('throwing fn');\n};\n","dependencies":[],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nmodule.exports = function sum() {\n  throw new Error('throwing fn');\n};\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/throwing-fn.js"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/throwing.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nthrow new Error('throwing');\n","dependencies":[],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nthrow new Error('throwing');\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/throwing.js"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/__mocks__/ExclusivelyManualMock.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.isExclusivelyManualMockModule = true;\n","dependencies":[],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.isExclusivelyManualMockModule = true;\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/__mocks__/ExclusivelyManualMock.js"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/__mocks__/ManuallyMocked.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nlet OnlyRequiredFromMock;\ntry {\n  OnlyRequiredFromMock = require.requireActual('OnlyRequiredFromMock');\n} catch (e) {\n  // If the module cannot be loaded, use a dummy value. There is one test\n  // that specifically tests for the correct value which ensures this feature\n  // works. If the feature is broken, it doesn't cause additional log-spew in\n  // surrounding tests.\n  OnlyRequiredFromMock = {value: 'module OnlyRequiredFromMock not found'};\n}\n\nvar moduleStateValue = 'default';\n\nfunction setModuleStateValue(value) {\n  moduleStateValue = value;\n}\n\nfunction getModuleStateValue() {\n  return moduleStateValue;\n}\n\nexports.onlyRequiredFromMockModuleValue = OnlyRequiredFromMock.value;\nexports.getModuleStateValue = getModuleStateValue;\nexports.isManualMockModule = true;\nexports.setModuleStateValue = setModuleStateValue;\n","dependencies":["OnlyRequiredFromMock"],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nlet OnlyRequiredFromMock;\ntry {\n  OnlyRequiredFromMock = require.requireActual('OnlyRequiredFromMock');\n} catch (e) {\n  // If the module cannot be loaded, use a dummy value. There is one test\n  // that specifically tests for the correct value which ensures this feature\n  // works. If the feature is broken, it doesn't cause additional log-spew in\n  // surrounding tests.\n  OnlyRequiredFromMock = {value: 'module OnlyRequiredFromMock not found'};\n}\n\nvar moduleStateValue = 'default';\n\nfunction setModuleStateValue(value) {\n  moduleStateValue = value;\n}\n\nfunction getModuleStateValue() {\n  return moduleStateValue;\n}\n\nexports.onlyRequiredFromMockModuleValue = OnlyRequiredFromMock.value;\nexports.getModuleStateValue = getModuleStateValue;\nexports.isManualMockModule = true;\nexports.setModuleStateValue = setModuleStateValue;\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/__mocks__/ManuallyMocked.js"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/haste-package/package.json":{"metadata":{"mtime":1459983938000},"data":{"package-name":"haste-package","moduleData":{"code":"{\n  \"name\": \"haste-package\"\n}\n","dependencies":[],"source":"{\n  \"name\": \"haste-package\"\n}\n"},"name":"haste-package/package.json"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/subdir1/MyModule.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.modulePath = 'subdir1/MyModule.js';\n","dependencies":[],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.modulePath = 'subdir1/MyModule.js';\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/subdir1/MyModule.js"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/subdir2/MyModule.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.modulePath = 'subdir2/MyModule.js';\n","dependencies":[],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.modulePath = 'subdir2/MyModule.js';\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/subdir2/MyModule.js"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/haste-package/core/module.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.isHastePackage = true;\n","dependencies":[],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.isHastePackage = true;\n"},"name":"haste-package/core/module.js"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/subdir1/__mocks__/MyModule.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.modulePath = 'subdir1/__mocks__/MyModule.js';\n","dependencies":[],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.modulePath = 'subdir1/__mocks__/MyModule.js';\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/subdir1/__mocks__/MyModule.js"}},"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/subdir2/__mocks__/MyModule.js":{"metadata":{"mtime":1459983938000},"data":{"moduleData":{"code":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.modulePath = 'subdir2/__mocks__/MyModule.js';\n","dependencies":[],"source":"/**\n * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nexports.modulePath = 'subdir2/__mocks__/MyModule.js';\n"},"name":"/Users/james/dev/jest/src/HasteModuleLoader/__tests__/test_root/subdir2/__mocks__/MyModule.js"}}}