Nadro/3799/perf #916
static-analysis.yml
on: pull_request
yarn-fmt-check
38s
yarn-build-wasm
8m 18s
yarn-tsc
5m 14s
yarn-lint
54s
python-codespell
8s
yarn-unit-test
9m 15s
Annotations
5 errors and 1 warning
python-codespell
Process completed with exit code 65.
|
yarn-fmt-check
Process completed with exit code 1.
|
src/components/NetworkHealthIndicator.test.tsx > NetworkHealthIndicator tests > Renders the network indicator:
src/hooks/useAbsoluteFilePath.ts#L6
Error: useRouteLoaderData must be used within a data router. See https://reactrouter.com/routers/picking-a-router.
❯ Object.invariant [as UNSAFE_invariant] node_modules/@remix-run/router/history.ts:494:11
❯ useDataRouterState node_modules/react-router/lib/hooks.tsx:876:3
❯ Proxy.useRouteLoaderData node_modules/react-router/lib/hooks.tsx:963:15
❯ Module.useAbsoluteFilePath src/hooks/useAbsoluteFilePath.ts:6:21
❯ CommandBarProviderInner src/components/CommandBar/CommandBarProvider.tsx:42:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14
❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:222:42
|
src/components/ProjectSidebarMenu.test.tsx > ProjectSidebarMenu tests > Disables popover menu by default:
src/hooks/useAbsoluteFilePath.ts#L6
Error: useRouteLoaderData must be used within a data router. See https://reactrouter.com/routers/picking-a-router.
❯ Object.invariant [as UNSAFE_invariant] node_modules/@remix-run/router/history.ts:494:11
❯ useDataRouterState node_modules/react-router/lib/hooks.tsx:876:3
❯ Proxy.useRouteLoaderData node_modules/react-router/lib/hooks.tsx:963:15
❯ Module.useAbsoluteFilePath src/hooks/useAbsoluteFilePath.ts:6:21
❯ CommandBarProviderInner src/components/CommandBar/CommandBarProvider.tsx:42:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14
❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:222:42
|
yarn-unit-test
Process completed with exit code 1.
|
python-codespell
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|