Skip to content

Commit 6933ac8

Browse files
committed
Update Preferences test to remove sound output option
1 parent f15893b commit 6933ac8

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

client/modules/IDE/components/Preferences/Preferences.unit.test.jsx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -736,14 +736,6 @@ describe('<Preferences />', () => {
736736
testCheckbox('text output on', false, 'setTextOutput');
737737
});
738738

739-
it('clicking on sound output checkbox to unselect it', () => {
740-
testCheckbox('sound output on', true, 'setSoundOutput');
741-
});
742-
743-
it('clicking on sound output checkbox to select it', () => {
744-
testCheckbox('sound output on', false, 'setSoundOutput');
745-
});
746-
747739
it('clicking on grid output checkbox to unselect it', () => {
748740
testCheckbox('table output on', true, 'setGridOutput');
749741
});
@@ -757,7 +749,6 @@ describe('<Preferences />', () => {
757749
props = {
758750
...props,
759751
textOutput: true,
760-
soundOutput: true,
761752
gridOutput: true
762753
};
763754
});
@@ -777,15 +768,11 @@ describe('<Preferences />', () => {
777768
const textOutputCheckbox = screen.getByRole('checkbox', {
778769
name: 'text output on'
779770
});
780-
const soundOutputCheckbox = screen.getByRole('checkbox', {
781-
name: 'sound output on'
782-
});
783771
const gridOutputCheckbox = screen.getByRole('checkbox', {
784772
name: 'table output on'
785773
});
786774

787775
expect(textOutputCheckbox.checked).toBe(true);
788-
expect(soundOutputCheckbox.checked).toBe(true);
789776
expect(gridOutputCheckbox.checked).toBe(true);
790777
});
791778
});
@@ -795,7 +782,6 @@ describe('<Preferences />', () => {
795782
props = {
796783
...props,
797784
textOutput: false,
798-
soundOutput: false,
799785
gridOutput: false
800786
};
801787
});
@@ -814,15 +800,11 @@ describe('<Preferences />', () => {
814800
const textOutputCheckbox = screen.getByRole('checkbox', {
815801
name: 'text output on'
816802
});
817-
const soundOutputCheckbox = screen.getByRole('checkbox', {
818-
name: 'sound output on'
819-
});
820803
const gridOutputCheckbox = screen.getByRole('checkbox', {
821804
name: 'table output on'
822805
});
823806

824807
expect(textOutputCheckbox.checked).toBe(false);
825-
expect(soundOutputCheckbox.checked).toBe(false);
826808
expect(gridOutputCheckbox.checked).toBe(false);
827809
});
828810
});

0 commit comments

Comments
 (0)