Skip to content

Commit

Permalink
import crypto for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecabaco committed Dec 2, 2024
1 parent f978065 commit add70f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/channel.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import assert, { ok } from 'assert'
import assert from 'assert'
import sinon from 'sinon'
import crypto from 'crypto'
import {
describe,
beforeEach,
Expand Down
1 change: 1 addition & 0 deletions test/socket.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { describe, beforeEach, afterEach, test, vi, expect } from 'vitest'
import { Server, WebSocket as MockWebSocket } from 'mock-socket'
import WebSocket from 'ws'
import sinon from 'sinon'
import crypto from 'crypto'

import RealtimeClient from '../src/RealtimeClient'
import jwt from 'jsonwebtoken'
Expand Down

0 comments on commit add70f2

Please sign in to comment.