Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredwray committed Oct 25, 2024
1 parent 1ee75d8 commit f0e190d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/keyv/test/keyv-hooks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ test.it('POST_GET_MANY with getMany function', async () => {
test.it('PRE_DELETE hook', async () => {
const keyv = new Keyv();
keyv.hooks.addHandler(KeyvHooks.PRE_DELETE, data => {
test.expect(data.key).toBe('foo');
test.expect(data.key).toBe('keyv:foo');
});
test.expect(keyv.hooks.handlers.size).toBe(1);
await keyv.set('foo', 'bar');
Expand Down

0 comments on commit f0e190d

Please sign in to comment.