Skip to content

Commit 9880f1e

Browse files
committed
test: pass opts object to listAll
1 parent 6446dfe commit 9880f1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/alias/journey.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ requireAtLeast(1, 32, 0).describe('manages collection aliases', () => {
4040
it('should delete alias Bono', () => {
4141
return client.alias
4242
.delete('Bono')
43-
.then(() => client.alias.listAll('PaulHewson'))
43+
.then(() => client.alias.listAll({ collection: 'PaulHewson' }))
4444
.then((aliases) => expect(aliases).toEqual([]));
4545
});
4646

4747
it('should delete alias MachineGunKelly', () => {
4848
return client.alias
4949
.delete('MachineGunKelly')
50-
.then(() => client.alias.listAll('ColsonBaker'))
50+
.then(() => client.alias.listAll({ collection: 'ColsonBaker' }))
5151
.then((aliases) => expect(aliases).toEqual([]));
5252
});
5353
});

0 commit comments

Comments
 (0)