Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

chore: update tests to new react and cleanup #283

Merged
merged 4 commits into from
Oct 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@ language: node_js
node_js:
- "4"
- "6"
cache:
directories:
- $HOME/.npm
- $HOME/.yarn-cache
- node_modules

before_install:
- npm install -g npm@^3 --cache-min 999999999
- npm install -g coveralls --cache-min 999999999
- time npm i -g yarn --cache-min 999999999

install:
- npm install -g npm@^3
- npm install -g coveralls
- npm install
- yarn

script:
- npm test
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,18 @@
"immutable": "^3.8.1",
"isomorphic-fetch": "^2.2.1",
"jest": "^15.1.1",
"jest-react-native": "^15.0.0",
"jest-react-native": "^16.0.0",
"jsdom": "^8.3.1",
"minimist": "^1.2.0",
"mobx": "^2.4.2",
"mobx-react": "^3.5.4",
"pretty-bytes": "^3.0.1",
"react": "^15.0.0",
"react-addons-test-utils": "^15.3.0",
"react-dom": "^15.1.0",
"react-native": "^0.30.0",
"react": "15.3.2",
"react-addons-test-utils": "^15.3.2",
"react-dom": "^15.3.2",
"react-native": "^0.35.0",
"react-redux": "^4.4.5",
"react-test-renderer": "^15.3.0",
"react-test-renderer": "^15.3.2",
"redux": "^3.5.2",
"redux-form": "^6.0.5",
"redux-immutable": "^3.0.7",
Expand Down
2 changes: 1 addition & 1 deletion test/react-native/__snapshots__/component.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ exports[`App renders correctly 1`] = `
<Text
accessible={true}
allowFontScaling={true}
lineBreakMode="tail">
ellipsizeMode="tail">
Loading...
</Text>
`;
4 changes: 2 additions & 2 deletions test/react-native/component.test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import 'react-native';
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View
} from 'react-native';
import React, { Component } from 'react';

// import { mount, shallow } from 'enzyme';

// Note: test renderer must be required after react-native.
Expand Down
Loading