Rip out the remainder of Bluebird
This commit is contained in:
parent
47948812b0
commit
d4d51dc61f
75 changed files with 71 additions and 135 deletions
|
@ -15,7 +15,6 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
import expect from 'expect';
|
||||
import Promise from 'bluebird';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import ReactTestUtils from 'react-dom/test-utils';
|
||||
|
|
|
@ -91,7 +91,7 @@ describe('MemberEventListSummary', function() {
|
|||
testUtils.beforeEach(this);
|
||||
sandbox = testUtils.stubClient();
|
||||
|
||||
languageHandler.setLanguage('en').done(done);
|
||||
languageHandler.setLanguage('en').then(done);
|
||||
languageHandler.setMissingEntryGenerator(function(key) {
|
||||
return key.split('|', 2)[1];
|
||||
});
|
||||
|
|
|
@ -3,7 +3,6 @@ import ReactTestUtils from 'react-dom/test-utils';
|
|||
import ReactDOM from 'react-dom';
|
||||
import expect from 'expect';
|
||||
import sinon from 'sinon';
|
||||
import Promise from 'bluebird';
|
||||
import * as testUtils from '../../../test-utils';
|
||||
import sdk from 'matrix-react-sdk';
|
||||
const MessageComposerInput = sdk.getComponent('views.rooms.MessageComposerInput');
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// import ReactDOM from 'react-dom';
|
||||
// import expect from 'expect';
|
||||
// import jest from 'jest-mock';
|
||||
// import Promise from 'bluebird';
|
||||
// import * as testUtils from '../../../test-utils';
|
||||
// import sdk from 'matrix-react-sdk';
|
||||
// const WrappedRoomSettings = testUtils.wrapInMatrixClientContext(sdk.getComponent('views.rooms.RoomSettings'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue