Skip to content

Commit

Permalink
removed snapshot-based tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkowalski committed Dec 28, 2024
1 parent e9eef30 commit 99de685
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1,834 deletions.
13 changes: 0 additions & 13 deletions src/tests/Preferences.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ beforeEach(() => {
wrapper = render(<Preferences />)
});

/**
*
*/
describe('Calling the preference page', () => {
test('Should render preferences', () => {
expect(wrapper).toMatchSnapshot();
})
})

/**
*
*/
Expand All @@ -32,8 +23,6 @@ describe('Select the light theme', () => {
screen.getByRole('option', { name: 'light' }));

expect(screen.getByRole('option', { name: 'light' }).selected).toBe(true)

expect(wrapper).toMatchSnapshot();
})
})

Expand All @@ -44,7 +33,6 @@ describe('Test number of themes', () => {
test('Should have four themes', () => {
let theme = screen.getByRole('combobox', { name: "Select theme" });
expect(theme).toHaveLength(4);
expect(wrapper).toMatchSnapshot();
})
})

Expand All @@ -55,6 +43,5 @@ describe('Test byte representation', () => {
test('Should have two options', () => {
let theme = screen.getByRole('combobox', { name: "Select byte representation" });
expect(theme).toHaveLength(2);
expect(wrapper).toMatchSnapshot();
})
})
Loading

0 comments on commit 99de685

Please sign in to comment.