You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Load babel-polyfill in tests
Object.values() isn't available natively, so use polyfill for it.
This commit is contained in:
@ -5,6 +5,14 @@
|
||||
* application to provide
|
||||
*/
|
||||
|
||||
/* this is a convenient place to ensure we load the compatibility libraries we expect our
|
||||
* app to provide
|
||||
*/
|
||||
|
||||
// for ES6 stuff like startsWith() and Object.values() that babel doesn't do by
|
||||
// default
|
||||
require('babel-polyfill');
|
||||
|
||||
var sdk = require("../src/index");
|
||||
|
||||
var skin = require('../src/component-index.js');
|
||||
|
Reference in New Issue
Block a user