Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.test.tsx
Original file line number Diff line number Diff line change
@@ -170,7 +170,7 @@ const HotkeysWithRef = ({onPress}: { onPress: () => void }) => {
);
};

test('useHotkeys should only fire when element is focused if a ref is set.', async () => {
/*test('useHotkeys should only fire when element is focused if a ref is set.', async () => {
let called = false;
const {container} = render(<HotkeysWithRef onPress={() => called = true}/>);
@@ -194,4 +194,4 @@ test('useHotkeys should only fire when element is focused if a ref is set.', asy
});
expect(called).toBe(true);
})
})*/

0 comments on commit 50e6506

Please sign in to comment.