Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jestpack errors with Jest 0.8.0 #12

Open
richardscarrott opened this issue Nov 23, 2015 · 0 comments
Open

Jestpack errors with Jest 0.8.0 #12

richardscarrott opened this issue Nov 23, 2015 · 0 comments

Comments

@richardscarrott
Copy link
Member

Jest is under going rapid development at the moment, particularly with the HasteModuleLoader, so will wait until it settles down before picking this up. For now I would recommend using Jest 0.7.x

 FAIL  __bundled_tests__/www/test/spec/modules/customer/views/favourites/list/list.spec.js 
● Runtime Error
TypeError: path must be a string
    at TypeError (native)
    at Object.fs.openSync (fs.js:584:18)
    at Object.fs.readFileSync (fs.js:431:33)
    at JestModuleLoader._execModule (/Users/rscarrott/projects/project-cooper/node_modules/jestpack/ModuleLoader.js:247:16)
    at JestModuleLoader.requireModule (/Users/rscarrott/projects/project-cooper/node_modules/jestpack/ModuleLoader.js:212:14)
    at /Users/rscarrott/projects/project-cooper/node_modules/jest-cli/src/testRunners/jasmine/jasmine1.js:175:20
    at FakeTimers.runWithRealTimers (/Users/rscarrott/projects/project-cooper/node_modules/jest-cli/src/lib/FakeTimers.js:262:7)
    at jasmine1 (/Users/rscarrott/projects/project-cooper/node_modules/jest-cli/src/testRunners/jasmine/jasmine1.js:98:26)
    at /Users/rscarrott/projects/project-cooper/node_modules/jest-cli/src/TestRunner.js:365:14
    at tryCatcher (/Users/rscarrott/projects/project-cooper/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (/Users/rscarrott/projects/project-cooper/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (/Users/rscarrott/projects/project-cooper/node_modules/bluebird/js/main/promise.js:581:18)
    at Promise._settlePromises (/Users/rscarrott/projects/project-cooper/node_modules/bluebird/js/main/promise.js:697:14)
    at Async._drainQueue (/Users/rscarrott/projects/project-cooper/node_modules/bluebird/js/main/async.js:123:16)
    at Async._drainQueues (/Users/rscarrott/projects/project-cooper/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/rscarrott/projects/project-cooper/node_modules/bluebird/js/main/async.js:15:14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant