Skip to content

Commit 7bdaea8

Browse files
committed
fix typo
1 parent 28470e3 commit 7bdaea8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ describe('list', () => {
406406

407407
it('handles non-existing', async () => {
408408
const list = await State.storage.get(`${ Math.random().toString() }/`);
409-
expect(list.status).to.be(State.spec_version >= 2 ? 200 : 404);
409+
expect(list.status).to.equal(State.spec_version >= 2 ? 200 : 404);
410410

411411
if (list.status === 200)
412412
expect(JSON.stringify(await list.json())).to.be.oneOf([{}, stub.listing()].map(JSON.stringify));

0 commit comments

Comments
 (0)