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
Fix tests failing to load skin
We should find a better way to do this, but this works well enough.
This commit is contained in:
@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import '../skinned-sdk'; // Must be first for skinning to work
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Adapter from "enzyme-adapter-react-16";
|
import Adapter from "enzyme-adapter-react-16";
|
||||||
import { configure, mount } from "enzyme";
|
import { configure, mount } from "enzyme";
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import '../../../skinned-sdk'; // Must be first for skinning to work
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import TestRenderer from 'react-test-renderer';
|
import TestRenderer from 'react-test-renderer';
|
||||||
import { EventEmitter } from 'events';
|
import { EventEmitter } from 'events';
|
||||||
|
@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import '../../../skinned-sdk'; // Must be first for skinning to work
|
||||||
import Adapter from "enzyme-adapter-react-16";
|
import Adapter from "enzyme-adapter-react-16";
|
||||||
import { configure, mount } from "enzyme";
|
import { configure, mount } from "enzyme";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import './skinned-sdk'; // Must be first for skinning to work
|
||||||
import {_waitForMember, canEncryptToAllUsers} from '../src/createRoom';
|
import {_waitForMember, canEncryptToAllUsers} from '../src/createRoom';
|
||||||
import {EventEmitter} from 'events';
|
import {EventEmitter} from 'events';
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import '../skinned-sdk'; // Must be first for skinning to work
|
||||||
import {parseEvent} from "../../src/editor/deserialize";
|
import {parseEvent} from "../../src/editor/deserialize";
|
||||||
import {createPartCreator} from "./mock";
|
import {createPartCreator} from "./mock";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user