mirror of
https://github.com/actions/attest-build-provenance.git
synced 2025-12-15 11:52:14 +00:00
Add jest config to handle ESM required by jose version update
This commit is contained in:
parent
c819193a6e
commit
1a7704f61a
@ -42,6 +42,7 @@
|
||||
"verbose": true,
|
||||
"clearMocks": true,
|
||||
"testEnvironment": "node",
|
||||
"extensionsToTreatAsEsm": [".ts"],
|
||||
"moduleFileExtensions": [
|
||||
"js",
|
||||
"ts"
|
||||
@ -56,8 +57,12 @@
|
||||
"/node_modules/",
|
||||
"/dist/"
|
||||
],
|
||||
"transformIgnorePatterns": [
|
||||
"/node_modules/(?!jose/)"
|
||||
],
|
||||
"transform": {
|
||||
"^.+\\.ts$": "ts-jest"
|
||||
"^.+\\.ts$": "ts-jest",
|
||||
"^.+\\.js$": "ts-jest"
|
||||
},
|
||||
"coverageReporters": [
|
||||
"json-summary",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user