Skip to content

Commit

Permalink
Tests: Fixed has() tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jytesh <44925963+Jytesh@users.noreply.github.com>
  • Loading branch information
Jytesh committed Jun 19, 2021
1 parent cda660e commit 78d448a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/keyv-test-suite/src/api.js
Expand Up @@ -114,7 +114,7 @@ const keyvApiTests = (test, Keyv, store) => {

test.serial('.has(key) with nonexistent key resolves to false', async t => {
const keyv = new Keyv({ store: store() });
t.is(await keyv.get('foo'), false);
t.is(await keyv.has('foo'), false);
});

test.after.always(async () => {
Expand Down

0 comments on commit 78d448a

Please sign in to comment.