mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
switch from Q to Bluebird
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
find,
|
||||
map,
|
||||
} from 'lodash';
|
||||
import Q from 'q';
|
||||
import Bluebird from 'bluebird';
|
||||
|
||||
describe('DELETE /user', () => {
|
||||
let user;
|
||||
@@ -30,7 +30,7 @@ describe('DELETE /user', () => {
|
||||
|
||||
await user.del('/user');
|
||||
|
||||
await Q.all(map(ids, id => {
|
||||
await Bluebird.all(map(ids, id => {
|
||||
return expect(checkExistence('tasks', id)).to.eventually.eql(false);
|
||||
}));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user