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

Run test at top level failed #33

Closed
udiedrichsen opened this issue Jul 14, 2017 · 3 comments
Closed

Run test at top level failed #33

udiedrichsen opened this issue Jul 14, 2017 · 3 comments

Comments

@udiedrichsen
Copy link

May be thats a small issue:

I tried to run the test from top level (via ... menu) in the portal or from the portal overview diagram
"run tests now". Then you get:

Running tests: tests/features/undefined/**/*.test.js ...
ERROR in ./node_modules/mocha-webpack/lib/webpack/includeFilesLoader.js?{"include":["/Users/doedel/temp/rekit/tests/before-all.js"]}!./.tmp/mocha-webpack/1fc1df50c9192a61e4ea9fd536f08f1b-entry.js
Module not found: Error: Can't resolve '../../tests/features/undefined' in '/Users/doedel/temp/rekit/.tmp/mocha-webpack'
resolve '../../tests/features/undefined' in '/Users/doedel/temp/rekit/.tmp/mocha-webpack'
using description file: /Users/doedel/temp/rekit/package.json (relative path: ./.tmp/mocha-webpack)
after using description file: /Users/doedel/temp/rekit/package.json (relative path: ./.tmp/mocha-webpack)
using description file: /Users/doedel/temp/rekit/package.json (relative path: ./tests/features/undefined)
as directory
/Users/doedel/temp/rekit/tests/features/undefined doesn't exist
[/Users/doedel/temp/rekit/tests/features/undefined]
@ ./node_modules/mocha-webpack/lib/webpack/includeFilesLoader.js?{"include":["/Users/doedel/temp/rekit/tests/before-all.js"]}!./.tmp/mocha-webpack/1fc1df50c9192a61e4ea9fd536f08f1b-entry.js 4:19-75
child_process.js:631
throw err;

@supnate
Copy link
Owner

supnate commented Jul 15, 2017

It looks like there's a feature 'undefined', what did you do before running tests? You can try to create a new app and it should be able to run tests.

@udiedrichsen
Copy link
Author

Hi,

I created a new app (with no changes) and then I tried to run "Run test now" from Rekit portal.
The result is: Run tests: tests/features/undefined/**/*.test.js

If a select Features from the side menu and right click 'Run test', that works.

@supnate
Copy link
Owner

supnate commented Jul 17, 2017

Updating to Rekit Portal 2.0.5 should fix the problem. Thanks for reporting!

@supnate supnate closed this as completed Jul 17, 2017
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

2 participants