🔄 Jest configured setup scripts reporting as unused exports when --include-entry-exports is enabled #857
Closed
4 tasks done
Labels
regression
Something is no longer working
Prerequisites
Reproduction url
https://github.com/stfstoris/knip-jest-setup-issue
Reproduction access
Good version
5.33.3
Bad version
5.34.0
Description of the regression
Reproduction of issue: https://github.com/stfstoris/knip-jest-setup-issue
There seems to be a regression of an issue my colleague @shawnmcknight logged a while back: #716, where after we updated
knip
to latest we are now getting unused export errors from ourjest
setup and teardown files with--include-entry-exports
enabled:Running this on any version after original fix version (
5.24.2
) and before version5.34.0
does not give us this error, so it appears that this version introduced regression:The text was updated successfully, but these errors were encountered: