test #5
Annotations
4 errors and 1 warning
Run unit tests
nthul#test: command (/home/runner/work/nthul/nthul/lib/nthul) /opt/hostedtoolcache/node/20.11.1/x64/bin/pnpm run test exited (1)
|
Run unit tests:
lib/nthul/src/client/theme-switcher/theme-switcher.tsx#L19
TypeError: matchMedia is not a function
❯ src/client/theme-switcher/theme-switcher.tsx:19:17
❯ commitHookEffectListMount ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:23150:26
❯ commitPassiveMountOnFiber ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:24931:11
❯ commitPassiveMountEffects_complete ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:24891:9
❯ commitPassiveMountEffects_begin ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:24878:7
❯ commitPassiveMountEffects ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:24866:3
❯ flushPassiveEffectsImpl ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27039:3
❯ flushPassiveEffects ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26984:14
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26769:9
❯ flushActQueue ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:2667:24
|
Run unit tests:
lib/nthul/src/server/server-target/server-target.tsx#L20
Error: Invariant: cookies() expects to have requestAsyncStorage, none available.
❯ Proxy.cookies ../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/src/client/components/headers.ts:41:11
❯ ServerTarget src/server/server-target/server-target.tsx:20:29
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
|
Run unit tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading