Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Conversation

shian15810
Copy link
Contributor

@shian15810 shian15810 commented Nov 17, 2021

As per Jest docs on Configuring Jest, jest.config.cjs is a supported file format of its kind, this PR adds support to it.

@codecov
Copy link

codecov bot commented Nov 17, 2021

Codecov Report

Merging #682 (2878d54) into main (73c2bec) will decrease coverage by 0.19%.
The diff coverage is 85.72%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #682      +/-   ##
==========================================
- Coverage   98.64%   98.45%   -0.18%     
==========================================
  Files          49       49              
  Lines        1023     1031       +8     
==========================================
+ Hits         1009     1015       +6     
- Misses         14       16       +2     
Impacted Files Coverage Δ
src/utils/configuration-reader.js 100.00% <ø> (ø)
src/cli.js 95.56% <75.00%> (-4.44%) ⬇️
src/detector/importDeclaration.js 100.00% <100.00%> (ø)
src/special/jest.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 180e05a...2878d54. Read the comment docs.

@shian15810 shian15810 changed the title feat(jest): add support for cjs mjs and ts feat(jest): add support for jest.config.cjs Nov 17, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

1 similar comment
@stale
Copy link

stale bot commented Aug 14, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@mdaverde
Copy link

It would be nice to have generic support for cjs and mjs to support more of the ecosystem

@rumpl rumpl merged commit 4fb02b9 into depcheck:main Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants