Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lupusA committed Mar 17, 2024
1 parent 9780625 commit 24281d0
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 138 deletions.
4 changes: 2 additions & 2 deletions src/tests/Preferences.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ describe('Select the light theme', () => {
test('Should select light theme', () => {
userEvent.selectOptions(
screen.getByTestId('themeSelector'),
screen.getByRole('option', { name: "ui.value.theme-light" }));
screen.getByRole('option', { name: "value.ui.theme-light" }));

expect(screen.getByRole('option', { name: "ui.value.theme-light" }).selected).toBe(true)
expect(screen.getByRole('option', { name: "value.ui.theme-light" }).selected).toBe(true)
expect(wrapper).toMatchSnapshot();
})
})
Expand Down
Loading

0 comments on commit 24281d0

Please sign in to comment.