File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
+ before_install : npm install -g npm@3
2
3
script : travis_retry npm test
3
4
node_js :
4
5
- ' 0.12'
6
+ - ' 4'
7
+ - ' 5'
5
8
sudo : false
Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ import ReactDOM from 'react-dom';
3
3
import { shallow } from 'enzyme' ;
4
4
import { expect } from 'chai' ;
5
5
import { Sparklines } from '../src/Sparklines' ;
6
- import jsdom from 'jsdom'
7
-
8
- global . document = jsdom . jsdom ( '<!doctype html><html><body></body></html>' ) ;
9
- global . window = document . parentWindow ;
10
6
11
7
describe ( 'Sparklines' , ( ) => {
12
8
it ( 'does not throw without any parameters' , ( ) => {
Original file line number Diff line number Diff line change 42
42
"babel-runtime" : " ^6.6.1" ,
43
43
"chai" : " ^3.5.0" ,
44
44
"enzyme" : " ^2.2.0" ,
45
- "jsdom" : " ^8.3.1" ,
46
45
"mocha" : " ^2.4.5" ,
46
+ "react" : " ^15.0.1" ,
47
47
"react-addons-test-utils" : " ^15.0.1" ,
48
+ "react-dom" : " ^15.0.1" ,
48
49
"webpack" : " ^2.1.0-beta.4" ,
49
50
"webpack-dev-server" : " ^2.0.0-beta"
50
51
},
You can’t perform that action at this time.
0 commit comments