Skip to content

tmeasday/jest-symlink-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jest-symlink-repro

To reproduce:

  1. npm install.
  2. Run node index.js. You should see
$ node index.js
a was required
done
  1. Run npm test. You should see
$ npm test

> @ test /private/tmp/test-project
> jest

 FAIL  ./index.test.js
  ● Test suite failed to run

    Your test suite must contain at least one test.

      at onResult (node_modules/jest/node_modules/jest-cli/build/TestRunner.js:110:20)
          at <anonymous>

Test 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 required

  console.log b.js:1
    a was required

  console.log index.test.js:3
    done

Notice that a was required was printed twice above.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published