@@ -736,14 +736,6 @@ describe('<Preferences />', () => {
736
736
testCheckbox ( 'text output on' , false , 'setTextOutput' ) ;
737
737
} ) ;
738
738
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
-
747
739
it ( 'clicking on grid output checkbox to unselect it' , ( ) => {
748
740
testCheckbox ( 'table output on' , true , 'setGridOutput' ) ;
749
741
} ) ;
@@ -757,7 +749,6 @@ describe('<Preferences />', () => {
757
749
props = {
758
750
...props ,
759
751
textOutput : true ,
760
- soundOutput : true ,
761
752
gridOutput : true
762
753
} ;
763
754
} ) ;
@@ -777,15 +768,11 @@ describe('<Preferences />', () => {
777
768
const textOutputCheckbox = screen . getByRole ( 'checkbox' , {
778
769
name : 'text output on'
779
770
} ) ;
780
- const soundOutputCheckbox = screen . getByRole ( 'checkbox' , {
781
- name : 'sound output on'
782
- } ) ;
783
771
const gridOutputCheckbox = screen . getByRole ( 'checkbox' , {
784
772
name : 'table output on'
785
773
} ) ;
786
774
787
775
expect ( textOutputCheckbox . checked ) . toBe ( true ) ;
788
- expect ( soundOutputCheckbox . checked ) . toBe ( true ) ;
789
776
expect ( gridOutputCheckbox . checked ) . toBe ( true ) ;
790
777
} ) ;
791
778
} ) ;
@@ -795,7 +782,6 @@ describe('<Preferences />', () => {
795
782
props = {
796
783
...props ,
797
784
textOutput : false ,
798
- soundOutput : false ,
799
785
gridOutput : false
800
786
} ;
801
787
} ) ;
@@ -814,15 +800,11 @@ describe('<Preferences />', () => {
814
800
const textOutputCheckbox = screen . getByRole ( 'checkbox' , {
815
801
name : 'text output on'
816
802
} ) ;
817
- const soundOutputCheckbox = screen . getByRole ( 'checkbox' , {
818
- name : 'sound output on'
819
- } ) ;
820
803
const gridOutputCheckbox = screen . getByRole ( 'checkbox' , {
821
804
name : 'table output on'
822
805
} ) ;
823
806
824
807
expect ( textOutputCheckbox . checked ) . toBe ( false ) ;
825
- expect ( soundOutputCheckbox . checked ) . toBe ( false ) ;
826
808
expect ( gridOutputCheckbox . checked ) . toBe ( false ) ;
827
809
} ) ;
828
810
} ) ;
0 commit comments