Skip to content

Commit

Permalink
increase timeout ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vanGalilea committed Jan 3, 2024
1 parent dccec86 commit 7208a11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import {server} from './src/test/mocks/server';
import '@testing-library/react-native/extend-expect';
import {jest, beforeAll, beforeEach, afterEach, afterAll} from '@jest/globals';

// increasing jest timeout to 10 seconds due to slow ci env
jest.setTimeout(10000);
// surpressing warning resulted by useLinking due to usage of NavigationContainer
jest.mock('@react-navigation/native/lib/commonjs/useLinking.native', () => ({
default: () => ({getInitialState: {then: () => null}}),
Expand Down

0 comments on commit 7208a11

Please sign in to comment.