test CI checks #11
ci.yml
on: pull_request
π
Format
9s
π΅ Lint
52s
β
Typecheck
7s
π§ͺ Test
47s
π§° Build
8s
Annotations
7 errors
β
Typecheck
Process completed with exit code 2.
|
π§° Build
Process completed with exit code 1.
|
src/index.test.ts > createCustomEvent > should create a custom event and allow dispatching it:
src/index.ts#L30
ReferenceError: DOCUMENT is not defined
β― Function.dispatch src/index.ts:30:5
β― src/index.test.ts:25:22
β― Proxy.act node_modules/react/cjs/react.development.js:2512:16
β― src/index.test.ts:24:5
|
src/index.test.ts > useCustomEventListener > should call the listener when the event is triggered:
src/index.test.ts#L59
AssertionError: expected "spy" to be called with arguments: [ 'test payload' ]
Received:
Number of calls: 0
β― src/index.test.ts:59:22
|
src/index.test.ts > useCustomEventListener > should call onStartListening and onStopListening callbacks:
src/index.test.ts#L104
AssertionError: expected "spy" to be called at least once
β― src/index.test.ts:104:29
|
src/index.test.ts > useCustomEventListener > should react to dependency changes:
src/index.test.ts#L131
AssertionError: expected "spy" to be called at least once
β― src/index.test.ts:131:22
|
π§ͺ Test
Process completed with exit code 1.
|