Commits on Source (56)
-
Renovate Bot authoredcc9250e2
-
Bastien DUMONT authoredaa4bdbe6
-
Bastien DUMONT authored2b4b7590
-
Bastien DUMONT authored
This reverts commit aa4bdbe6.
1e01f291 -
Bastien DUMONT authored5d0d9774
-
Bastien DUMONT authored9f516375
-
Bastien DUMONT authored1d3e498b
-
Bastien DUMONT authored852dfeae
-
Bastien DUMONT authored9dc9f570
-
Bastien DUMONT authored292f2574
-
Bastien DUMONT authored1682611f
-
Bastien DUMONT authoredac9fc225
-
Bastien DUMONT authorededec7f01
-
Bastien DUMONT authored2f3f9d43
-
Bastien DUMONT authored06bf25af
-
Bastien DUMONT authored
This reverts commit 06bf25af.
a3625827 -
Bastien DUMONT authored5dc6d1b1
-
Bastien DUMONT authored
This reverts commit 5dc6d1b1.
f1a8367e -
Bastien DUMONT authoreda025c25b
-
Bastien DUMONT authoredc3e51cea
-
Bastien DUMONT authored4fefb972
-
Bastien DUMONT authoreddb4d7046
-
Bastien DUMONT authored0cea46d6
-
Bastien DUMONT authored5e1abb8c
-
Bastien DUMONT authored20dda1b4
-
Bastien DUMONT authored40c8c5f2
-
Bastien DUMONT authored4be1ed26
-
Bastien DUMONT authored11ee1401
-
Bastien DUMONT authored49a2811f
-
Bastien DUMONT authored83e87172
-
Bastien DUMONT authored81c80d75
-
Bastien DUMONT authored55658c6c
-
Bastien DUMONT authored0af7dfcd
-
Bastien DUMONT authored5ab46e69
-
Bastien DUMONT authored9abd8150
-
Bastien DUMONT authoredfe782f4d
-
Bastien DUMONT authored005be72e
-
Bastien DUMONT authored285b2605
-
Bastien DUMONT authored34f2dc26
-
Bastien DUMONT authored77676657
-
Bastien DUMONT authored29ea4d74
-
Bastien DUMONT authored71635eab
-
Bastien DUMONT authored91949128
-
Bastien DUMONT authored401ab0d6
-
Bastien DUMONT authoredf6b94732
-
Bastien DUMONT authored3fd54822
-
Bastien DUMONT authored37090847
-
Bastien DUMONT authored10dd77c4
-
Bastien DUMONT authored482d3a7d
-
Bastien DUMONT authored335f7bc8
-
Bastien DUMONT authored5d75a1cd
-
Bastien DUMONT authored827946e4
-
Bastien DUMONT authored2d6b8afe
-
Bastien DUMONT authored2edde873
-
Bastien DUMONT authoredb2cab269
-
Bastien DUMONT authoreda7c587e1
Showing
- .eslintrc.js 1 addition, 1 deletion.eslintrc.js
- .gitlab-ci.yml 2 additions, 2 deletions.gitlab-ci.yml
- .node-version 1 addition, 1 deletion.node-version
- .vscode/settings.json 3 additions, 1 deletion.vscode/settings.json
- Dockerfile 1 addition, 1 deletionDockerfile
- jest.config.ts 14 additions, 0 deletionsjest.config.ts
- jest.json 0 additions, 11 deletionsjest.json
- package-lock.json 22 additions, 28 deletionspackage-lock.json
- package.json 6 additions, 23 deletionspackage.json
- src/admin/admin.controller.spec.ts 54 additions, 13 deletionssrc/admin/admin.controller.spec.ts
- src/admin/admin.controller.ts 2 additions, 2 deletionssrc/admin/admin.controller.ts
- src/appointment/appointment.service.spec.ts 1 addition, 3 deletionssrc/appointment/appointment.service.spec.ts
- src/newsletter/newsletter.service.spec.ts 8 additions, 6 deletionssrc/newsletter/newsletter.service.spec.ts
- src/structures/services/structures-search.service.spec.ts 68 additions, 66 deletionssrc/structures/services/structures-search.service.spec.ts
- src/structures/services/structures.service.spec.ts 19 additions, 23 deletionssrc/structures/services/structures.service.spec.ts
- src/structures/services/structures.service.ts 1 addition, 1 deletionsrc/structures/services/structures.service.ts
- src/structures/structures.controller.spec.ts 46 additions, 88 deletionssrc/structures/structures.controller.spec.ts
- src/structures/structures.controller.ts 1 addition, 1 deletionsrc/structures/structures.controller.ts
- src/temp-user/temp-user.service.spec.ts 27 additions, 1 deletionsrc/temp-user/temp-user.service.spec.ts
- src/users/services/jobs.service.spec.ts 40 additions, 86 deletionssrc/users/services/jobs.service.spec.ts
jest.config.ts
0 → 100644
jest.json
deleted
100644 → 0
... | @@ -20,12 +20,12 @@ | ... | @@ -20,12 +20,12 @@ |
"release": "standard-version", | "release": "standard-version", | ||
"start:debug": "nodemon --config nodemon-debug.json", | "start:debug": "nodemon --config nodemon-debug.json", | ||
"start:dev": "nodemon", | "start:dev": "nodemon", | ||
"test": "jest --runInBand --config ./jest.json", | |||
"start:prod": "npm run migrate:up && node dist/src/main", | "start:prod": "npm run migrate:up && node dist/src/main", | ||
"test:cov": "jest --config ./jest.json --coverage --ci --reporters=default --reporters=jest-junit", | "test": "jest --runInBand --config ./jest.config.ts", | ||
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", | "test:cov": "jest --config ./jest.config.ts --coverage --ci --reporters=default --reporters=jest-junit", | ||
"test:debug": "node --config ./jest.config.ts --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", | |||
"test:e2e": "jest --config ./test/jest-e2e.json", | "test:e2e": "jest --config ./test/jest-e2e.json", | ||
"test:watch": "jest --config ./jest.json --watch --coverage" | "test:watch": "jest --config ./jest.config.ts --watch --coverage" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@elastic/elasticsearch": "~8.5.0", | "@elastic/elasticsearch": "~8.5.0", | ||
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
"@nestjs/mongoose": "^9.2.1", | "@nestjs/mongoose": "^9.2.1", | ||
"@nestjs/passport": "^9.0.0", | "@nestjs/passport": "^9.0.0", | ||
"@nestjs/platform-express": "^9.2.0", | "@nestjs/platform-express": "^9.2.0", | ||
"@nestjs/schedule": "^0.4.1", | "@nestjs/schedule": "^2.2.3", | ||
"@nestjs/swagger": "^6.1.3", | "@nestjs/swagger": "^6.1.3", | ||
"@tryghost/admin-api": "^1.13.1", | "@tryghost/admin-api": "^1.13.1", | ||
"@types/bcrypt": "^5.0.0", | "@types/bcrypt": "^5.0.0", | ||
... | @@ -72,7 +72,7 @@ | ... | @@ -72,7 +72,7 @@ |
"@nestjs/testing": "^9.0.11", | "@nestjs/testing": "^9.0.11", | ||
"@types/express": "^4.17.8", | "@types/express": "^4.17.8", | ||
"@types/jest": "^26.0.15", | "@types/jest": "^26.0.15", | ||
"@types/node": "^14.14.6", | "@types/node": "^18.0.0", | ||
"@types/passport-local": "^1.0.33", | "@types/passport-local": "^1.0.33", | ||
"@types/supertest": "^2.0.10", | "@types/supertest": "^2.0.10", | ||
"@typescript-eslint/eslint-plugin": "^5.37", | "@typescript-eslint/eslint-plugin": "^5.37", | ||
... | @@ -91,22 +91,5 @@ | ... | @@ -91,22 +91,5 @@ |
"ts-node": "^10.9.1", | "ts-node": "^10.9.1", | ||
"tsconfig-paths": "^3.9.0", | "tsconfig-paths": "^3.9.0", | ||
"typescript": "^4.2.4" | "typescript": "^4.2.4" | ||
}, | |||
"jest": { | |||
"moduleFileExtensions": [ | |||
"js", | |||
"json", | |||
"ts" | |||
], | |||
"rootDir": "src", | |||
"testRegex": ".*\\.spec\\.ts$", | |||
"transform": { | |||
"^.+\\.(t|j)s$": "ts-jest" | |||
}, | |||
"collectCoverageFrom": [ | |||
"**/*.(t|j)s" | |||
], | |||
"coverageDirectory": "../coverage", | |||
"testEnvironment": "node" | |||
} | } | ||
} | } |