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

Cannot run tests #32

Closed
creynders opened this issue Feb 10, 2014 · 1 comment
Closed

Cannot run tests #32

creynders opened this issue Feb 10, 2014 · 1 comment

Comments

@creynders
Copy link
Contributor

When I try to run the tests, I get an error:

     Error: Cannot find module '/express-train-fork/test/scaffold/app/models'
      at Function.Module._resolveFilename (module.js:338:15)
      at Function.Module._load (module.js:280:25)
      at Module.require (module.js:364:17)
      at require (module.js:380:17)
      at traverseAndRegister (/express-train-fork/lib/app.js:107:22)
      at /express-train-fork/lib/app.js:67:9
      at Function.forEach (/express-train-fork/node_modules/lodash/dist/lodash.js:3039:15)
      at ExpressTrain (/express-train-fork/lib/app.js:66:7)
      at Context.<anonymous> (/express-train-fork/test/app.js:55:18)
      at Test.Runnable.run (/express-train-fork/node_modules/mocha/lib/runnable.js:211:32)
      at Runner.runTest (/express-train-fork/node_modules/mocha/lib/runner.js:358:10)
      at /express-train-fork/node_modules/mocha/lib/runner.js:404:12
      at next (/express-train-fork/node_modules/mocha/lib/runner.js:284:14)
      at /express-train-fork/node_modules/mocha/lib/runner.js:293:7
      at next (/express-train-fork/node_modules/mocha/lib/runner.js:237:23)
      at Object._onImmediate (/express-train-fork/node_modules/mocha/lib/runner.js:261:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

Are the scaffold helper files simply missing, or is there some magic going on I'm not aware of? 😁
Do I simply yo express-train into a test/scaffold directory?

@creynders
Copy link
Contributor Author

No idea what was wrong, now it works.

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