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

Can not run tests #1

Open
noherczeg opened this issue Jan 3, 2017 · 0 comments
Open

Can not run tests #1

noherczeg opened this issue Jan 3, 2017 · 0 comments

Comments

@noherczeg
Copy link

Runnig npm test results in the following error:

> find . -name '*.test.js' | xargs ./node_modules/.bin/mocha --compilers js:babel-register

module.js:471
    throw err;
    ^

Error: Cannot find module '../util.js'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> ...

And is due to the fact that in the buildt build/modules/@shrine/util/util.test.js file has a wrong path for the source: var _util = require('../util.js');.

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