mirror of
https://github.com/actions/attest-build-provenance.git
synced 2025-12-16 20:30:59 +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,
|
"verbose": true,
|
||||||
"clearMocks": true,
|
"clearMocks": true,
|
||||||
"testEnvironment": "node",
|
"testEnvironment": "node",
|
||||||
|
"extensionsToTreatAsEsm": [".ts"],
|
||||||
"moduleFileExtensions": [
|
"moduleFileExtensions": [
|
||||||
"js",
|
"js",
|
||||||
"ts"
|
"ts"
|
||||||
@ -56,8 +57,12 @@
|
|||||||
"/node_modules/",
|
"/node_modules/",
|
||||||
"/dist/"
|
"/dist/"
|
||||||
],
|
],
|
||||||
|
"transformIgnorePatterns": [
|
||||||
|
"/node_modules/(?!jose/)"
|
||||||
|
],
|
||||||
"transform": {
|
"transform": {
|
||||||
"^.+\\.ts$": "ts-jest"
|
"^.+\\.ts$": "ts-jest",
|
||||||
|
"^.+\\.js$": "ts-jest"
|
||||||
},
|
},
|
||||||
"coverageReporters": [
|
"coverageReporters": [
|
||||||
"json-summary",
|
"json-summary",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user