diff --git a/.circleci/config.yml b/.circleci/config.yml index 27a295cf4f4b..e3cadb0b6788 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,10 +90,11 @@ jobs: steps: - checkout - restore-cache: *restore-cache - - run: yarn --no-progress + - run: yarn --no-progress --ignore-engines - save-cache: *save-cache - run: - command: yarn test-ci-partial + # react-native does not work with node 6 + command: rm -rf examples/react-native && yarn test-ci-partial - store_test_results: path: reports/junit diff --git a/examples/react-native/__tests__/intro.test.js b/examples/react-native/__tests__/intro.test.js index 1edf98a426ee..002b7143dea7 100644 --- a/examples/react-native/__tests__/intro.test.js +++ b/examples/react-native/__tests__/intro.test.js @@ -10,6 +10,8 @@ import Intro from '../Intro'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; +jest.setTimeout(15000); + it('renders correctly', () => { const tree = renderer.create().toJSON(); expect(tree).toMatchSnapshot();