You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-10 21:23:02 +03:00
react-sdk's tests are failing because babel-polyfill is being pulled in twice. As per https://babeljs.io/docs/usage/polyfill/ babel-polyfill is "intended to be used in an application rather than a library/tool". From a library, we're limited to things that don't modify globals, since the js env is not ours to start screwing around with.
7 lines
164 B
JavaScript
7 lines
164 B
JavaScript
var matrixcs = require("./lib/matrix");
|
|
matrixcs.request(require("request"));
|
|
module.exports = matrixcs;
|
|
|
|
var utils = require("./lib/utils");
|
|
utils.runPolyfills();
|