mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-15 18:49:21 +00:00
update comment
This commit is contained in:
@@ -25,7 +25,7 @@ import { useCallViewKeyboardShortcuts } from "../src/useCallViewKeyboardShortcut
|
|||||||
// Test Explanation:
|
// Test Explanation:
|
||||||
// - The main objective is to test `useCallViewKeyboardShortcuts`.
|
// - The main objective is to test `useCallViewKeyboardShortcuts`.
|
||||||
// The TestComponent just wraps a button around that hook.
|
// The TestComponent just wraps a button around that hook.
|
||||||
// - We need to set userEvent to the `{document = window.document}` since we are testing the
|
// - We need to set `userEvent` to the `{document = window.document}` since we are testing the
|
||||||
// `useCallViewKeyboardShortcuts` hook here. Which is listening to window.
|
// `useCallViewKeyboardShortcuts` hook here. Which is listening to window.
|
||||||
|
|
||||||
interface TestComponentProps {
|
interface TestComponentProps {
|
||||||
|
|||||||
Reference in New Issue
Block a user