Skip to content

Commit

Permalink
Fix hooks unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Convly committed May 10, 2022
1 parent e7acb6c commit d184161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/utils/lib/__tests__/hooks.test.js
Expand Up @@ -8,7 +8,7 @@ describe('Hooks Module', () => {
test(`It's possible to create a hook that has all the needed methods`, () => {
const hook = hooks.internals.createHook();

expect(hook).toHaveProperty('handlers', expect.any(Array));
expect(hook).toHaveProperty('getHandlers', expect.any(Function));
expect(hook).toHaveProperty('register', expect.any(Function));
expect(hook).toHaveProperty('delete', expect.any(Function));
expect(hook).toHaveProperty('call', expect.any(Function));
Expand Down

0 comments on commit d184161

Please sign in to comment.