Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Nov 8, 2023
1 parent 9e7e80c commit 24aec54
Show file tree
Hide file tree
Showing 9 changed files with 331 additions and 511 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ jobs:
with:
node-version: "16.19"

- name: Change TimeZone
uses: szenius/[email protected]
with:
timezoneLinux: "Europe/Paris"

- name: Set up Yarn cache
uses: c-hive/gha-yarn-cache@v2

Expand Down
28 changes: 14 additions & 14 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@
"@nestjs/terminus": "^10.0.1",
"@nestjs/testing": "^10.0.5",
"@ntegral/nestjs-sentry": "^4.0.0",
"@opentelemetry/api": "^1.6.0",
"@opentelemetry/core": "^1.17.0",
"@opentelemetry/instrumentation-express": "^0.33.0",
"@opentelemetry/instrumentation-http": "^0.44.0",
"@opentelemetry/instrumentation-nestjs-core": "^0.33.0",
"@opentelemetry/instrumentation-net": "^0.32.0",
"@opentelemetry/instrumentation-pg": "^0.36.0",
"@opentelemetry/sdk-node": "^0.44.0",
"@opentelemetry/semantic-conventions": "^1.17.0",
"@sentry/node": "^7.77.0",
"@sentry/opentelemetry-node": "^7.77.0",
"@opentelemetry/api": "^1.7.0",
"@opentelemetry/core": "^1.18.1",
"@opentelemetry/instrumentation-express": "^0.33.2",
"@opentelemetry/instrumentation-http": "^0.45.1",
"@opentelemetry/instrumentation-nestjs-core": "^0.33.2",
"@opentelemetry/instrumentation-net": "^0.32.2",
"@opentelemetry/instrumentation-pg": "^0.36.2",
"@opentelemetry/sdk-node": "^0.45.1",
"@opentelemetry/semantic-conventions": "^1.18.1",
"@sentry/node": "^7.79.0",
"@sentry/opentelemetry-node": "^7.79.0",
"@socialgouv/streaming-file-encryption": "^1.1.0",
"@types/source-map-support": "^0.5.4",
"axios": "^1.4.0",
Expand All @@ -83,7 +83,7 @@
"nodemailer": "^6.9.1",
"nunjucks": "^3.2.3",
"passport": "^0.6.0",
"passport-jwt": "^4.0.0",
"passport-jwt": "^4.0.1",
"pg": "^8.7.1",
"pino": "^8.7.0",
"pino-pretty": "^10.0.1",
Expand All @@ -102,7 +102,7 @@
"typeorm": "^0.3.17",
"uuid": "^9.0.1",
"xlsx": "^0.18.5",
"yup": "^0.32.9",
"yup": "^0.32.11",
"yup-phone": "^1.3.2"
},
"devDependencies": {
Expand Down Expand Up @@ -149,7 +149,7 @@
"ts-jest": "^29.1.1",
"ts-node": "10.9.1",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "4.9.5"
},
"lint-staged": {
Expand Down

This file was deleted.

25 changes: 0 additions & 25 deletions packages/backend/src/_migrations/1699283083901-auto-migration.ts

This file was deleted.

29 changes: 0 additions & 29 deletions packages/backend/src/_migrations/1699283951968-auto-migration.ts

This file was deleted.

6 changes: 3 additions & 3 deletions packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@ngrx/store-devtools": "^15.4.0",
"@popperjs/core": "^2.11.8",
"@schematics/angular": "^15.2.10",
"@sentry/angular": "^7.77.0",
"@sentry/angular": "^7.79.0",
"@swimlane/ngx-charts": "^20.4.1",
"angular-user-idle": "^4.0.0",
"bootstrap": "^5.2.0",
Expand All @@ -54,7 +54,7 @@
"ngx-matomo-client": "^5.0.4",
"rxjs": "^7.6.0",
"tslib": "^2.3.0",
"validator": "^13.9.0",
"validator": "^13.11.0",
"zone.js": "~0.14.0"
},
"devDependencies": {
Expand All @@ -70,7 +70,7 @@
"@angular/cli": "15.2.10",
"@angular/compiler-cli": "^15.2.10",
"@angular/language-service": "^15.2.10",
"@schematics/update": "^0.1102.18",
"@schematics/update": "^0.1102.19",
"@types/file-saver": "^2.0.7",
"@types/google-libphonenumber": "^7.4.30",
"@types/jest": "^29.5.8",
Expand Down
11 changes: 7 additions & 4 deletions packages/portail-admins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,22 @@
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^15.2.10",
"@domifa/common": "workspace:^",
"@fortawesome/angular-fontawesome": "0.12.1",
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-regular-svg-icons": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@ng-bootstrap/ng-bootstrap": "^14.2.0",
"@popperjs/core": "^2.11.8",
"@sentry/angular": "^7.77.0",
"@sentry/browser": "^7.77.0",
"@sentry/tracing": "^7.77.0",
"@sentry/angular": "^7.79.0",
"@sentry/browser": "^7.79.0",
"@sentry/tracing": "^7.79.0",
"bootstrap": "^5.2.0",
"class-validator": "^0.14.0",
"date-fns": "^2.30.0",
"file-saver": "^2.0.5",
"redux": "^4.1.0",
"rimraf": "^5.0.5",
"rxjs": "^7.6.0",
"zone.js": "~0.14.0"
},
Expand All @@ -57,11 +59,12 @@
"@angular/cli": "15.2.10",
"@angular/compiler-cli": "^15.2.10",
"@angular/language-service": "^15.2.10",
"@schematics/update": "^0.1102.18",
"@schematics/update": "^0.1102.19",
"@types/d3": "^7.4.1",
"@types/file-saver": "^2.0.7",
"@types/jest": "^29.5.8",
"@types/node": "^20.3.3",
"@types/rimraf": "^4.0.5",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"eslint": "^8.53.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/portail-usagers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@ng-bootstrap/ng-bootstrap": "^14.2.0",
"@popperjs/core": "^2.11.8",
"@sentry/angular": "^7.77.0",
"@sentry/angular": "^7.79.0",
"angular-user-idle": "^4.0.0",
"bootstrap": "5.2.3",
"date-fns": "^2.30.0",
Expand Down
Loading

0 comments on commit 24aec54

Please sign in to comment.