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

fix tests #34

Closed
wants to merge 1 commit into from
Closed

fix tests #34

wants to merge 1 commit into from

Conversation

pi0
Copy link
Contributor

@pi0 pi0 commented Dec 17, 2018

I'm not sure if this is even a good idea to pass the full path to importFresh, but as tests seem to fail with latest versions of dependencies, this PR at least resolves the problem.


Stack trace:

  Rejected promise returned by the test. Reason:

  Error {
    code: 'MODULE_NOT_FOUND',
    message: 'Cannot find module \'.\'',
  }

  resolveFileName (node_modules/resolve-from/index.js:18:39)
  resolveFrom (node_modules/resolve-from/index.js:32:9)
  module.exports (node_modules/resolve-from/index.js:35:41)
  module.exports.moduleId (node_modules/import-fresh/index.js:11:19)
  test.js:56:23

@sindresorhus
Copy link
Owner

I have fixed the tests in master by updating import-fresh.

@pi0 pi0 deleted the fix/tests branch December 26, 2018 19:59
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

Successfully merging this pull request may close these issues.

None yet

2 participants