Skip to content

Commit

Permalink
Improve dependency extractor (#7385)
Browse files Browse the repository at this point in the history
* Refactored dependency extractor

* Refactored dependency extractor test

* Update changelog

* Fix headers and naming

* Disable tests failing in Node <9

* Add feature detection to tests
  • Loading branch information
rubennorte authored Nov 19, 2018
1 parent 7b62b08 commit 819cae5
Show file tree
Hide file tree
Showing 6 changed files with 380 additions and 144 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
- `[expect]` Fix toMatchObject matcher when used with `Object.create(null)` ([#7334](https://github.com/facebook/jest/pull/7334))
- `[jest-haste-map]` [**BREAKING**] Recover files correctly after haste name collisions are fixed ([#7329](https://github.com/facebook/jest/pull/7329))
- `[jest-haste-map]` Remove legacy condition for duplicate module detection ([#7333](https://github.com/facebook/jest/pull/7333))
- `[jest-haste-map]` Fix `require` detection with trailing commas and ignore `import typeof` modules ([#7385](https://github.com/facebook/jest/pull/7385))

### Chore & Maintenance

Expand Down Expand Up @@ -110,6 +111,7 @@
- `[jest-worker]` Standardize filenames ([#7316](https://github.com/facebook/jest/pull/7316))
- `[pretty-format]` Standardize filenames ([#7316](https://github.com/facebook/jest/pull/7316))
- `[*]` Add check for Facebook copyright headers on CI ([#7370](https://github.com/facebook/jest/pull/7370))
- `[jest-haste-map]` Refactor `dependencyExtractor` and tests ([#7385](https://github.com/facebook/jest/pull/7385))

### Performance

Expand Down
127 changes: 0 additions & 127 deletions packages/jest-haste-map/src/lib/__tests__/dependencyExtractor.js

This file was deleted.

Loading

0 comments on commit 819cae5

Please sign in to comment.