From 8656498b14d43362c50fe2a24e104d98a40acf3c Mon Sep 17 00:00:00 2001 From: icecream17 Date: Mon, 26 Feb 2024 09:13:51 -0600 Subject: [PATCH] fix Sudoku.test.tsx 2 --- src/Elems/MainElems/Sudoku.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Elems/MainElems/Sudoku.test.tsx b/src/Elems/MainElems/Sudoku.test.tsx index a6a196a8..10c4f6d2 100644 --- a/src/Elems/MainElems/Sudoku.test.tsx +++ b/src/Elems/MainElems/Sudoku.test.tsx @@ -87,9 +87,9 @@ test("Clearing all candidates of a cell", () => { fireEvent.blur(buttonCell) expect(buttonCell).toHaveTextContent('7') - // Both Shift and Alt key work to delete all candidates + // Both Shift and Control key work to delete all candidates userEvent.click(buttonCell) - userEvent.keyboard('{Alt>}{Backspace}{/Alt}123') + userEvent.keyboard('{Control>}{Backspace}{/Control}123') fireEvent.blur(buttonCell) expect(buttonCell).toHaveTextContent('123')