Skip to content

Commit

Permalink
Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovepixelart committed Sep 22, 2022
1 parent fccb9b5 commit 8e0bf2b
Show file tree
Hide file tree
Showing 3 changed files with 4,424 additions and 14 deletions.
6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ const config = merge.recursive(ts, mongo, {
'!src/bin.ts'
],
coverageDirectory: 'coverage',
globals: {
'ts-jest': {
transform: {
'^.+\\.tsx?$': ['ts-jest', {
isolatedModules: true,
allowSyntheticDefaultImports: true,
esModuleInterop: true,
importHelpers: true
}
}]
},
testMatch: [
'<rootDir>/tests/**/*.test.ts'
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,30 +51,30 @@
"commander": "^9.4.0",
"dotenv": "^16.0.2",
"inquirer": "^8.2.3",
"mongoose": "^6.6.0",
"mongoose": "^6.6.1",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@shelf/jest-mongodb": "^4.1.0",
"@types/inquirer": "^8.2.3",
"@types/jest": "<28.0.9",
"@types/lodash": "^4.14.184",
"@types/node": "^18.7.16",
"@types/jest": "^29.0.3",
"@types/lodash": "^4.14.185",
"@types/node": "^18.7.18",
"@types/yargs": "^17.0.12",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint": "^8.23.0",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"eslint": "^8.23.1",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.2",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-n": "^15.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.1",
"jest": "<28.0.9",
"jest": "^29.0.3",
"merge": "^2.1.1",
"open-cli": "^7.0.1",
"ts-jest": "^28.0.8",
"ts-jest": "^29.0.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.3"
}
Expand Down
Loading

0 comments on commit 8e0bf2b

Please sign in to comment.