Commit Graph

4 Commits

Author SHA1 Message Date
Nicolas Chevobbe
13e25f1a6d Bug 1317069 - Fix ESLint in new console frontend; r=ntim
MozReview-Commit-ID: 7MgHbRxnU1V
2016-12-08 09:16:41 +01:00
Nicolas Chevobbe
848a544869 Bug 1321518 - Fix requireHelper for enzyme. r=bgrins
Bug 1312236 updated React to v15.3.2 which was making webconsole's mocha test fail.
An error was thrown because the path and export we do in requireHelper to make enzyme
able to call React functions was changed.
We fix the require to ReactDOM by using the react-dom.js file, and we add the similar
react-dom-server.js for ReactDOMServer functions.

Tests now run like they used to.

MozReview-Commit-ID: GXIQJPlqp4A
2016-12-01 19:47:36 +01:00
Fred Lin
879f5ecd27 Bug 1314528 - [webconsole] enable mocha test on windows;r=linclark
MozReview-Commit-ID: 4jRGiMnkj9k
2016-11-16 09:29:20 +08:00
Fred Lin
84ab22d21e Bug 1314528 - [webconsole] rename requireHelper to require-helper;r=linclark
MozReview-Commit-ID: BiVyX2EY2cV
2016-11-16 09:26:03 +08:00