Fixing jest build
Some checks failed
Anatid Blog CI Workflow / test (./backend) (push) Successful in 26s
Anatid Blog CI Workflow / test (./frontend) (push) Failing after 6s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Has been skipped
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Has been skipped
Anatid Blog CI Workflow / deploy (push) Has been skipped

This commit is contained in:
Phill Pover 2025-03-27 12:33:03 +00:00
parent ebdc16462a
commit 72d61a1033

View File

@ -44,20 +44,8 @@
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
"moduleNameMapper": {
"^axios$": "axios/dist/node/axios.cjs"
}
},
}