Skip to content

Commit d79d25c

Browse files
committed
fix node 18 uuid issue
1 parent d35a633 commit d79d25c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

__tests__/ring-call.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ import { beforeAll, describe, expect, it } from 'vitest';
22
import { createTestClient } from './create-test-client';
33
import { StreamCall } from '../src/StreamCall';
44
import { StreamClient } from '../src/StreamClient';
5+
import { v4 as uuidv4 } from 'uuid';
56

67
describe('ring call API', () => {
78
let client: StreamClient;
8-
const callId = `call${crypto.randomUUID()}`;
9+
const callId = `call${uuidv4()}`;
910
let call: StreamCall;
1011

1112
beforeAll(async () => {

0 commit comments

Comments
 (0)