Skip to content

Commit

Permalink
LL-277 (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
Verus20 authored Aug 27, 2024
2 parents a3980db + 0fe506c commit f93db37
Show file tree
Hide file tree
Showing 10 changed files with 9,577 additions and 1,317 deletions.
11 changes: 8 additions & 3 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import type {Config} from 'jest';
import type { Config } from 'jest';

const config: Config = {
verbose: true,
testPathIgnorePatterns: ["client", "src/notification"]
testPathIgnorePatterns: ["client", "src/notification"],
transform: {
"^.+\\.(ts|tsx)$": "ts-jest"
},
// Optionally, you can specify moduleFileExtensions if needed
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
};

export default config;
export default config;
226 changes: 225 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@types/dotenv": "^8.2.0",
"@types/jest": "^29.5.6",
"@types/mongoose": "^5.11.97",
"@types/node": "^20.10.0"
"@types/node": "^20.10.0",
"supertest": "^7.0.0"
}
}
2 changes: 1 addition & 1 deletion src/notification/publish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "publish.ts",
"scripts": {
"test": "jest publish.test.ts --watchAll --no-cache --runInBand --detectOpenHandles --forceExit",
"test": "jest publish.test.ts",
"publish": "npx ts-node publish.ts",
"publishRoutes": "npx ts-node publishRoutes.ts"
},
Expand Down
Loading

0 comments on commit f93db37

Please sign in to comment.