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

Error when running in watch mode #2

Closed
nojaf opened this issue Nov 27, 2017 · 2 comments
Closed

Error when running in watch mode #2

nojaf opened this issue Nov 27, 2017 · 2 comments
Assignees
Labels

Comments

@nojaf
Copy link

nojaf commented Nov 27, 2017

I tried the watch mode as explained in the readme.
Node crashes and I get:

Determining test suites to run...Error: This promise must be present when running with -o.
    at C:\Temp\MyTests\node_modules\jest\node_modules\jest-cli\build\search_source.js:202:17
    at next (native)
    at step (C:\Temp\MyTests\node_modules\jest\node_modules\jest-cli\build\search_source.js:19:362)
    at C:\Temp\MyTests\node_modules\jest\node_modules\jest-cli\build\search_source.js:19:592
    at C:\Temp\MyTests\node_modules\jest\node_modules\jest-cli\build\search_source.js:19:273
    at SearchSource.getTestPaths (C:\Temp\MyTests\node_modules\jest\node_modules\jest-cli\build\search_source.js:216:10)
    at C:\Temp\MyTests\node_modules\jest\node_modules\jest-cli\build\run_jest.js:44:29
    at next (native)
    at step (C:\Temp\MyTests\node_modules\jest\node_modules\jest-cli\build\run_jest.js:23:380)
    at C:\Temp\MyTests\node_modules\jest\node_modules\jest-cli\build\run_jest.js:23:540
@jgrund
Copy link
Owner

jgrund commented Nov 27, 2017

Interesting, looks like it's this issue: jestjs/jest#4419

I'll change the flag to watchall which should circumvent the issue until the fix lands.

@jgrund jgrund closed this as completed in c1ee94d Nov 27, 2017
@jgrund jgrund added the bug label Nov 27, 2017
@jgrund jgrund self-assigned this Nov 27, 2017
@jgrund
Copy link
Owner

jgrund commented Nov 27, 2017

Released 0.0.3 to address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants