Skip to content

Merge pull request #52 from fga-eps-mds/bugfix5 #178

Merge pull request #52 from fga-eps-mds/bugfix5

Merge pull request #52 from fga-eps-mds/bugfix5 #178

Triggered via push February 11, 2025 02:49
Status Failure
Total duration 1m 15s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
format
Process completed with exit code 1.
lint: src/Routes/permissionProtect.jsx#L6
'getRoleById' is defined but never used
lint: src/Routes/permissionProtect.jsx#L10
'setUserPermissions' is assigned a value but never used
lint
Process completed with exit code 1.
src/Routes/permissionProtect.test.jsx > PermissionProtect Component > should render 'Loading...' while fetching permissions: src/Routes/permissionProtect.test.jsx#L51
TestingLibraryElementError: Unable to find an element with the text: Loading.... This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div> Unauthorized </div> </div> </body> ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/Routes/permissionProtect.test.jsx:51:19
test
Process completed with exit code 1.
lint: src/Pages/Protected/DataImport/index.jsx#L54
React Hook useEffect has a missing dependency: 'storagedUser.token'. Either include it or remove the dependency array
lint: src/Pages/Protected/MembershipRequests/index.jsx#L45
React Hook useEffect has a missing dependency: 'members'. Either include it or remove the dependency array