Repository navigation
test: add missing tests (#3101) #8562
ci.yml
on: push
Build & Validate
28s
ESLint & Prettier
32s
Test
1m 59s
Deploy Vite Example to Vercel
1m 9s
Annotations
2 errors
|
Test
Process completed with exit code 1.
|
|
Unhandled error:
src/components/ChannelListItem/ChannelListItem.tsx#L137
ReferenceError: window is not defined
❯ resolveUpdatePriority node_modules/react-dom/cjs/react-dom-client.development.js:1230:7
❯ requestUpdateLane node_modules/react-dom/cjs/react-dom-client.development.js:14251:11
❯ dispatchSetState node_modules/react-dom/cjs/react-dom-client.development.js:7160:46
❯ src/components/ChannelListItem/ChannelListItem.tsx:137:11
❯ invokeFunc node_modules/lodash.throttle/index.js:160:19
❯ trailingEdge node_modules/lodash.throttle/index.js:207:14
❯ Timeout.timerExpired [as _onTimeout] node_modules/lodash.throttle/index.js:195:14
This error originated in "src/components/ChannelListItem/__tests__/ChannelListItemActionButtons.defaults.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|