mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Convert pending api tests to use promise syntax
This commit is contained in:
@@ -81,12 +81,7 @@ describe('GET /groups', () => {
|
||||
|
||||
context('no query passed in', () => {
|
||||
|
||||
xit('lists all public guilds, the tavern, user\'s party, and any private guilds that user is a part of - TODO query includes duplicates - IE, tavern is included as tavern and part of public guilds. Refactor so this is not the case', (done) => {
|
||||
api.get('/groups').then((groups) => {
|
||||
expect(groups.length).to.eql(4);
|
||||
done();
|
||||
}).catch(done);
|
||||
});
|
||||
xit('lists all public guilds, the tavern, user\'s party, and any private guilds that user is a part of - TODO query includes duplicates - IE, tavern is included as tavern and part of public guilds. Refactor so this is not the case');
|
||||
});
|
||||
|
||||
context('tavern passed in as query', () => {
|
||||
|
||||
Reference in New Issue
Block a user