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
|
@ -61,8 +61,6 @@ describe('GroupView', function() {
|
|||
};
|
||||
|
||||
beforeEach(function() {
|
||||
TestUtils.beforeEach(this);
|
||||
|
||||
httpBackend = new MockHttpBackend();
|
||||
|
||||
Matrix.request(httpBackend.requestFn);
|
||||
|
|
|
@ -75,7 +75,6 @@ describe('MessagePanel', function() {
|
|||
let sandbox = null;
|
||||
|
||||
beforeEach(function() {
|
||||
test_utils.beforeEach(this);
|
||||
sandbox = test_utils.stubClient();
|
||||
client = MatrixClientPeg.get();
|
||||
client.credentials = {userId: '@me:here'};
|
||||
|
|
|
@ -32,7 +32,6 @@ describe('Login', function() {
|
|||
let parentDiv;
|
||||
|
||||
beforeEach(function() {
|
||||
TestUtils.beforeEach(this);
|
||||
parentDiv = document.createElement('div');
|
||||
document.body.appendChild(parentDiv);
|
||||
});
|
||||
|
|
|
@ -32,7 +32,6 @@ describe('Registration', function() {
|
|||
let parentDiv;
|
||||
|
||||
beforeEach(function() {
|
||||
TestUtils.beforeEach(this);
|
||||
parentDiv = document.createElement('div');
|
||||
document.body.appendChild(parentDiv);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue