https://github.com/methodgrab/babel-plugin-module-resolver-ava-test-case
Test case for tleunen/babel-plugin-module-resolver#61
https://github.com/methodgrab/babel-plugin-module-resolver-ava-test-case
Last synced: 10 months ago
JSON representation
Test case for tleunen/babel-plugin-module-resolver#61
- Host: GitHub
- URL: https://github.com/methodgrab/babel-plugin-module-resolver-ava-test-case
- Owner: MethodGrab
- Created: 2016-10-10T15:40:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-10T21:38:44.000Z (over 9 years ago)
- Last Synced: 2025-04-12T03:58:25.246Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test Case for [babel-plugin-module-resolver](https://github.com/tleunen/babel-plugin-module-resolver) with AVA
## Usage
- `npm start` runs the script without errors
- `npm test` throws `Error: Cannot find module 'lib/bar'`
The problem seems to be trying to import `lib/bar` in `test/helpers/foo-helper.js`.
If you comment out `import bar from 'lib/bar';` in `test/helpers/foo-helper.js` then `npm test` will run without errors.