Skip to content

Next

Next #93

Triggered via pull request November 25, 2024 16:50
@FaXaqFaXaq
synchronize #476
next
Status Failure
Total duration 2m 49s
Artifacts

preview.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
src/modules/data/usecases/getRegion/__tests__/getRegion.test.ts > GET /api/region/:codeRegion > doit retrouver les données de la région Auvergne-Rhône-Alpes (84): server/src/modules/data/usecases/getRegion/__tests__/getRegion.test.ts#L26
AssertionError: expected { …(8) } to deeply equal { …(8) } - Expected + Received Object { "effectifEntree": 18975, - "effectifTotal": 312, + "effectifTotal": 55370, "libelleRegion": "Auvergne-Rhône-Alpes", "nbFormations": 83, "tauxDevenirFavorable": 0.77049259712117, "tauxInsertion": 0.514395491803279, "tauxPoursuite": 0.527412267428488, "tauxRemplissage": 0.958655414509609, } ❯ src/modules/data/usecases/getRegion/__tests__/getRegion.test.ts:26:29
tests / Tests
Process completed with exit code 1.
tests / Tests: server/src/modules/import/services/ban/ban.api.ts#L48
Caution: `axios` also has a named export `isAxiosError`. Check if you meant to write `import {isAxiosError} from 'axios'` instead
tests / Tests: server/src/modules/import/services/franceTravail/franceTravail.api.ts#L58
Caution: `axiosRetry` also has a named export `exponentialDelay`. Check if you meant to write `import {exponentialDelay} from 'axios-retry'` instead
tests / Tests: server/src/modules/import/services/inserJeunesApi/inserJeunes.api.ts#L41
Caution: `axiosRetry` also has a named export `exponentialDelay`. Check if you meant to write `import {exponentialDelay} from 'axios-retry'` instead
tests / Tests: ui/app/(wrapped)/admin/campagnes/EditCampagne.tsx#L58
React Hook useEffect has a missing dependency: 'campagne'. Either include it or remove the dependency array
tests / Tests: ui/app/(wrapped)/admin/roles/components/UserSearchBar.tsx#L64
React Hook useEffect has a missing dependency: 'updateUser'. Either include it or remove the dependency array. If 'updateUser' changes too often, find the parent component that defines it and wrap that definition in useCallback
tests / Tests: ui/app/(wrapped)/admin/users/CreateUser.tsx#L84
React Hook useEffect has missing dependencies: 'isAdminRegion' and 'setValue'. Either include them or remove the dependency array
tests / Tests: ui/app/(wrapped)/admin/users/EditUser.tsx#L60
React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array
tests / Tests: ui/app/(wrapped)/auth/activer-compte/page.tsx#L6
Unexpected default export of anonymous function
tests / Tests: ui/app/(wrapped)/auth/login/LoginForm.tsx#L59
React Hook useEffect has a missing dependency: 'router'. Either include it or remove the dependency array