Update JS dependencies (#3710)

* Minor Versions NPM updates

* Remove unused packages

* No longer relevant JS test

* Update some major versions // Revert Rechartjs

* Update Redux/React-{Ace, RouterRedux}

* Updated React Tooltips

* Update mock-socket // Update tests to pass

* Updated React Router

* Removed `history` module that isn't necessary (instead of updating it)

* Updated redux-actions

* Removed commented hot store reload
This commit is contained in:
Nicolas Gotchac
2016-12-05 11:48:43 +01:00
committed by Jaco Greeff
parent 52b4ce0dd7
commit 9a43e6d6c8
6 changed files with 121 additions and 151 deletions

View File

@@ -24,7 +24,7 @@ import 'mock-local-storage';
import chai from 'chai';
import chaiEnzyme from 'chai-enzyme';
import sinonChai from 'sinon-chai';
import { w3cwebsocket } from 'websocket';
import { WebSocket } from 'mock-socket';
import jsdom from 'jsdom';
chai.use(chaiEnzyme());
@@ -32,7 +32,7 @@ chai.use(sinonChai);
// expose expect to global so we won't have to manually import & define it in every test
global.expect = chai.expect;
global.WebSocket = w3cwebsocket;
global.WebSocket = WebSocket;
// setup jsdom
global.document = jsdom.jsdom('<!doctype html><html><body></body></html>');