style: remove -> del

This commit is contained in:
Girish Ramakrishnan
2024-12-03 17:02:40 +01:00
parent 423dfb6ace
commit fdf8025a02
8 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -172,13 +172,13 @@ describe('Groups', function () {
describe('delete', function () {
it('cannot delete invalid group', async function () {
const [error] = await safe(groups.remove('random'));
const [error] = await safe(groups.del('random'));
expect(error.reason).to.be(BoxError.NOT_FOUND);
});
it('can delete valid group', async function () {
await groups.setMembers(group0Object, [ admin.id, user.id ], {}); // ensure group has some members
await groups.remove(group0Object.id);
await groups.del(group0Object.id);
});
});