Initial jest stuff. Blocked on Babel 7
This commit is contained in:
parent
b7fe06706d
commit
18f81d80db
19 changed files with 1144 additions and 77 deletions
|
@ -38,7 +38,6 @@ describe('MemberList', () => {
|
|||
let defaultUsers = [];
|
||||
|
||||
beforeEach(function() {
|
||||
TestUtils.beforeEach(this);
|
||||
sandbox = TestUtils.stubClient(sandbox);
|
||||
client = MatrixClientPeg.get();
|
||||
client.hasLazyLoadMembersEnabled = () => false;
|
||||
|
|
|
@ -29,7 +29,6 @@ xdescribe('MessageComposerInput', () => {
|
|||
room = testUtils.mkStubRoom('!DdJkzRliezrwpNebLk:matrix.org');
|
||||
|
||||
beforeEach(function() {
|
||||
testUtils.beforeEach(this);
|
||||
sandbox = testUtils.stubClient(sandbox);
|
||||
client = MatrixClientPeg.get();
|
||||
client.credentials = {userId: '@me:domain.com'};
|
||||
|
|
|
@ -45,7 +45,6 @@ describe('RoomList', () => {
|
|||
let myOtherMember;
|
||||
|
||||
beforeEach(function() {
|
||||
TestUtils.beforeEach(this);
|
||||
sandbox = TestUtils.stubClient(sandbox);
|
||||
client = MatrixClientPeg.get();
|
||||
client.credentials = {userId: myUserId};
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
// }
|
||||
//
|
||||
// beforeEach(function(done) {
|
||||
// testUtils.beforeEach(this);
|
||||
// sandbox = testUtils.stubClient();
|
||||
// client = MatrixClientPeg.get();
|
||||
// client.credentials = {userId: '@me:domain.com'};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue