Skip to content

Commit afa4f7f

Browse files
author
Ahmed Hamouda
committed
chore: remove tests timeout increase
1 parent db36009 commit afa4f7f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/rtn-web-browser/__tests__/apis/openAuthSessionAsync.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ describe('openAuthSessionAsync', () => {
159159
expect.any(Function),
160160
);
161161
expect(result).toBeNull();
162-
}, 10000);
162+
});
163163

164164
it('resolves with redirect URL when matching URL received', async () => {
165165
const mockAppStateListener = { ...mockEmitterSubscription };
@@ -179,7 +179,7 @@ describe('openAuthSessionAsync', () => {
179179
const result = await openAuthSessionAsync(mockUrl, mockRedirectUrls);
180180

181181
expect(result).toBe(mockReturnUrl);
182-
}, 10000);
182+
});
183183

184184
it('ignores non-matching redirect URLs', async () => {
185185
const mockAppStateListener = { ...mockEmitterSubscription };
@@ -212,7 +212,7 @@ describe('openAuthSessionAsync', () => {
212212
const result = await openAuthSessionAsync(mockUrl, mockRedirectUrls);
213213

214214
expect(result).toBeNull();
215-
}, 10000);
215+
});
216216

217217
it('cleans up listeners after completion', async () => {
218218
const mockAppStateListener = { ...mockEmitterSubscription };
@@ -235,7 +235,7 @@ describe('openAuthSessionAsync', () => {
235235

236236
expect(mockAppStateListener.remove).toHaveBeenCalled();
237237
expect(mockLinkingListener.remove).toHaveBeenCalled();
238-
}, 10000);
238+
});
239239

240240
it('handles app state transition from background to active', async () => {
241241
const mockAppStateListener = { ...mockEmitterSubscription };
@@ -259,7 +259,7 @@ describe('openAuthSessionAsync', () => {
259259
const result = await openAuthSessionAsync(mockUrl, mockRedirectUrls);
260260

261261
expect(result).toBeNull();
262-
}, 10000);
262+
});
263263

264264
it('handles app state change when already active', async () => {
265265
const mockAppStateListener = { ...mockEmitterSubscription };
@@ -286,7 +286,7 @@ describe('openAuthSessionAsync', () => {
286286
const result = await openAuthSessionAsync(mockUrl, mockRedirectUrls);
287287

288288
expect(result).toBeNull();
289-
}, 10000);
289+
});
290290
});
291291

292292
describe('unsupported platform', () => {

0 commit comments

Comments
 (0)