Skip to content

Commit 7502035

Browse files
committed
Switch back to old app, increase timeout
1 parent 26e7784 commit 7502035

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

__tests__/create-test-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ const apiKey = process.env.STREAM_API_KEY!;
55
const secret = process.env.STREAM_SECRET!;
66

77
export const createTestClient = () => {
8-
return new StreamClient(apiKey, secret, { timeout: 10000 });
8+
return new StreamClient(apiKey, secret, { timeout: 30000 });
99
};

__tests__/webhook.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { beforeAll, describe, expect, it } from 'vitest';
22
import { StreamClient } from '../src/StreamClient';
33
import { createTestClient } from './create-test-client';
44

5-
describe.skip('webhooks', () => {
5+
describe('webhooks', () => {
66
let client: StreamClient;
77

88
beforeAll(async () => {

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
coverage: {
77
reporter: ['lcov'],
88
},
9-
testTimeout: 35000,
9+
testTimeout: 60000,
1010
include: ['__tests__/**/*.test.ts'],
1111
includeSource: ['src/**/*.ts'],
1212
retry: 3,

0 commit comments

Comments
 (0)