chore: add eventemitter3 #411
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
4 errors and 1 warning
|
src/hooks/__tests__/useWatchContractEvent.test.ts > useWatchContractEvent > should successfully subscribe to the system events when all parameters are valid:
packages/typink/src/hooks/useWatchContractEvent.ts#L43
TypeError: subscribeSystemEvents is not a function
❯ src/hooks/useWatchContractEvent.ts:43:15
❯ commitHookEffectListMount ../../node_modules/react-dom/cjs/react-dom.development.js:23189:26
❯ commitPassiveMountOnFiber ../../node_modules/react-dom/cjs/react-dom.development.js:24970:11
❯ commitPassiveMountEffects_complete ../../node_modules/react-dom/cjs/react-dom.development.js:24930:9
❯ commitPassiveMountEffects_begin ../../node_modules/react-dom/cjs/react-dom.development.js:24917:7
❯ commitPassiveMountEffects ../../node_modules/react-dom/cjs/react-dom.development.js:24905:3
❯ flushPassiveEffectsImpl ../../node_modules/react-dom/cjs/react-dom.development.js:27078:3
❯ flushPassiveEffects ../../node_modules/react-dom/cjs/react-dom.development.js:27023:14
❯ ../../node_modules/react-dom/cjs/react-dom.development.js:26808:9
❯ flushActQueue ../../node_modules/react/cjs/react.development.js:2667:24
|
|
src/hooks/__tests__/useWatchContractEvent.test.ts > useWatchContractEvent > should call the callback function when new events are detected:
packages/typink/src/hooks/useWatchContractEvent.ts#L43
TypeError: subscribeSystemEvents is not a function
❯ src/hooks/useWatchContractEvent.ts:43:15
❯ commitHookEffectListMount ../../node_modules/react-dom/cjs/react-dom.development.js:23189:26
❯ commitPassiveMountOnFiber ../../node_modules/react-dom/cjs/react-dom.development.js:24970:11
❯ commitPassiveMountEffects_complete ../../node_modules/react-dom/cjs/react-dom.development.js:24930:9
❯ commitPassiveMountEffects_begin ../../node_modules/react-dom/cjs/react-dom.development.js:24917:7
❯ commitPassiveMountEffects ../../node_modules/react-dom/cjs/react-dom.development.js:24905:3
❯ flushPassiveEffectsImpl ../../node_modules/react-dom/cjs/react-dom.development.js:27078:3
❯ flushPassiveEffects ../../node_modules/react-dom/cjs/react-dom.development.js:27023:14
❯ ../../node_modules/react-dom/cjs/react-dom.development.js:26808:9
❯ flushActQueue ../../node_modules/react/cjs/react.development.js:2667:24
|
|
src/hooks/__tests__/useWatchContractEvent.test.ts > useWatchContractEvent > should unsubscribe when component unmounts:
packages/typink/src/hooks/useWatchContractEvent.ts#L43
TypeError: subscribeSystemEvents is not a function
❯ src/hooks/useWatchContractEvent.ts:43:15
❯ commitHookEffectListMount ../../node_modules/react-dom/cjs/react-dom.development.js:23189:26
❯ commitPassiveMountOnFiber ../../node_modules/react-dom/cjs/react-dom.development.js:24970:11
❯ commitPassiveMountEffects_complete ../../node_modules/react-dom/cjs/react-dom.development.js:24930:9
❯ commitPassiveMountEffects_begin ../../node_modules/react-dom/cjs/react-dom.development.js:24917:7
❯ commitPassiveMountEffects ../../node_modules/react-dom/cjs/react-dom.development.js:24905:3
❯ flushPassiveEffectsImpl ../../node_modules/react-dom/cjs/react-dom.development.js:27078:3
❯ flushPassiveEffects ../../node_modules/react-dom/cjs/react-dom.development.js:27023:14
❯ ../../node_modules/react-dom/cjs/react-dom.development.js:26808:9
❯ flushActQueue ../../node_modules/react/cjs/react.development.js:2667:24
|
|
unit-tests (18.x)
Process completed with exit code 1.
|
|
unit-tests (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|