Skip to content

feat: Implement token callback; fix CI testing #372

feat: Implement token callback; fix CI testing

feat: Implement token callback; fix CI testing #372

Triggered via pull request December 2, 2024 15:55
Status Failure
Total duration 25s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test/channel.test.ts > constructor > sets defaults: test/channel.test.ts#L23
ReferenceError: crypto is not defined ❯ randomProjectRef test/channel.test.ts:23:37 ❯ test/channel.test.ts:32:16
test/channel.test.ts > constructor > sets defaults: test/channel.test.ts#L42
TypeError: Cannot read properties of undefined (reading 'stop') ❯ test/channel.test.ts:42:14
test/channel.test.ts > constructor > sets up joinPush object: node_modules/sinon/pkg/sinon-esm.js#L7166
TypeError: Can't install fake timers twice on the same global object. ❯ Object.install node_modules/sinon/pkg/sinon-esm.js:7166:19 ❯ createClock node_modules/sinon/pkg/sinon-esm.js:4950:33 ❯ exports.useFakeTimers node_modules/sinon/pkg/sinon-esm.js:4982:16 ❯ Sandbox.useFakeTimers node_modules/sinon/pkg/sinon-esm.js:3462:48 ❯ test/channel.test.ts:30:17
test/channel.test.ts > constructor > sets up joinPush object: test/channel.test.ts#L42
TypeError: Cannot read properties of undefined (reading 'stop') ❯ test/channel.test.ts:42:14
test/channel.test.ts > constructor > sets up joinPush object with private defined: node_modules/sinon/pkg/sinon-esm.js#L7166
TypeError: Can't install fake timers twice on the same global object. ❯ Object.install node_modules/sinon/pkg/sinon-esm.js:7166:19 ❯ createClock node_modules/sinon/pkg/sinon-esm.js:4950:33 ❯ exports.useFakeTimers node_modules/sinon/pkg/sinon-esm.js:4982:16 ❯ Sandbox.useFakeTimers node_modules/sinon/pkg/sinon-esm.js:3462:48 ❯ test/channel.test.ts:30:17
test/channel.test.ts > constructor > sets up joinPush object with private defined: test/channel.test.ts#L42
TypeError: Cannot read properties of undefined (reading 'stop') ❯ test/channel.test.ts:42:14
test/channel.test.ts > subscribe > sets state to joining: node_modules/sinon/pkg/sinon-esm.js#L7166
TypeError: Can't install fake timers twice on the same global object. ❯ Object.install node_modules/sinon/pkg/sinon-esm.js:7166:19 ❯ createClock node_modules/sinon/pkg/sinon-esm.js:4950:33 ❯ exports.useFakeTimers node_modules/sinon/pkg/sinon-esm.js:4982:16 ❯ Sandbox.useFakeTimers node_modules/sinon/pkg/sinon-esm.js:3462:48 ❯ test/channel.test.ts:30:17
test/channel.test.ts > subscribe > sets state to joining: test/channel.test.ts#L123
TypeError: Cannot read properties of undefined (reading 'unsubscribe') ❯ test/channel.test.ts:123:13
test/channel.test.ts > subscribe > sets joinedOnce to true: node_modules/sinon/pkg/sinon-esm.js#L7166
TypeError: Can't install fake timers twice on the same global object. ❯ Object.install node_modules/sinon/pkg/sinon-esm.js:7166:19 ❯ createClock node_modules/sinon/pkg/sinon-esm.js:4950:33 ❯ exports.useFakeTimers node_modules/sinon/pkg/sinon-esm.js:4982:16 ❯ Sandbox.useFakeTimers node_modules/sinon/pkg/sinon-esm.js:3462:48 ❯ test/channel.test.ts:30:17
test/channel.test.ts > subscribe > sets joinedOnce to true: test/channel.test.ts#L123
TypeError: Cannot read properties of undefined (reading 'unsubscribe') ❯ test/channel.test.ts:123:13
Test / OS ubuntu-latest / Node 18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636