Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 4 additions & 15 deletions backend/jest-config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
module.exports = {
testPathIgnorePatterns: [
"<rootDir>/build",
"<rootDir>/node_modules",
],
collectCoverageFrom: [
"./src/**",
"!./src/api-tests/**"
],
roots: [
"./src"
],
coverageReporters: [
"text",
"lcov"
]
testPathIgnorePatterns: ["<rootDir>/build", "<rootDir>/node_modules", "<rootDir>/../src/api-tests"],
collectCoverageFrom: ["./src/**", "!./src/api-tests/**"],
roots: ["./src"],
coverageReporters: ["text", "lcov"],
}
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "npx tsx watch --clear-screen=false src/index.ts",
"build": "tsc",
"test:api": "jest src/api-tests --runInBand --coverage --config jest-config.js --detectOpenHandles --forceExit --silent",
"test:api": "jest ./src/api-tests --runInBand --coverage --config jest-config.js --detectOpenHandles --forceExit --silent",
"test:unit": "jest src/unit-tests --coverage --config jest-config.js --detectOpenHandles --forceExit --silent",
"test:api:local": "DOTENV_CONFIG_PATH=../.test.env npm run test:api -- --setupFiles dotenv/config",
"start": "node build/index.js",
Expand Down
94 changes: 0 additions & 94 deletions src/api-tests/species/create.test.ts

This file was deleted.

Loading