Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmeasday/jest-symlink-repro
https://github.com/tmeasday/jest-symlink-repro
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmeasday/jest-symlink-repro
- Owner: tmeasday
- Created: 2017-06-15T02:39:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-15T02:43:33.000Z (over 7 years ago)
- Last Synced: 2024-10-25T19:40:05.600Z (3 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jest-symlink-repro
To reproduce:
1. `npm install`.
2. Run `node index.js`. You should see```
$ node index.js
a was required
done
```
3. Run `npm test`. You should see```
$ npm test> @ test /private/tmp/test-project
> jestFAIL ./index.test.js
● Test suite failed to runYour test suite must contain at least one test.
at onResult (node_modules/jest/node_modules/jest-cli/build/TestRunner.js:110:20)
atTest Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.964s
Ran all test suites.
console.log a.js:1
a was requiredconsole.log b.js:1
a was requiredconsole.log index.test.js:3
done
```Notice that `a was required` was printed twice above.