Skip to content

feat: Implement token callback; fix CI testing #369

feat: Implement token callback; fix CI testing

feat: Implement token callback; fix CI testing #369

Triggered via pull request November 28, 2024 23:44
Status Failure
Total duration 23s
Artifacts

ci.yml

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

Annotations

10 errors
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