diff --git a/src/RealtimeClient.ts b/src/RealtimeClient.ts index 069721a..ab619df 100755 --- a/src/RealtimeClient.ts +++ b/src/RealtimeClient.ts @@ -112,7 +112,7 @@ export default class RealtimeClient { message: [], } fetch: Fetch - accessToken: (() => Promise) | null = null + accessToken: (() => Promise) | null = null worker?: boolean workerUrl?: string workerRef?: Worker diff --git a/test/channel.test.ts b/test/channel.test.ts index af34274..f074870 100644 --- a/test/channel.test.ts +++ b/test/channel.test.ts @@ -1203,7 +1203,6 @@ describe('send', () => { const pushStub = sinon.stub(new_channel, '_push') new_channel.subscribe(async (status) => { - console.log(status) if (status === 'SUBSCRIBED') { subscribed = true await new_channel.send({ type: 'broadcast', event: 'test' }) @@ -1232,7 +1231,6 @@ describe('send', () => { const pushStub = sinon.stub(new_channel, '_push') new_channel.subscribe(async (status) => { - console.log(status) if (status === 'TIMED_OUT') { timed_out = true }