We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28470e3 commit 7bdaea8Copy full SHA for 7bdaea8
1 file changed
api.test.js
@@ -406,7 +406,7 @@ describe('list', () => {
406
407
it('handles non-existing', async () => {
408
const list = await State.storage.get(`${ Math.random().toString() }/`);
409
- expect(list.status).to.be(State.spec_version >= 2 ? 200 : 404);
+ expect(list.status).to.equal(State.spec_version >= 2 ? 200 : 404);
410
411
if (list.status === 200)
412
expect(JSON.stringify(await list.json())).to.be.oneOf([{}, stub.listing()].map(JSON.stringify));
0 commit comments