@@ -5,11 +5,11 @@ import ResponseActions from './ResponseActions';
55import userEvent from '@testing-library/user-event' ;
66
77const ALL_ACTIONS = [
8- { type : 'positive' , label : " Good response" } ,
9- { type : 'negative' , label : " Bad response" } ,
10- { type : 'copy' , label : " Copy" } ,
11- { type : 'share' , label : " Share" } ,
12- { type : 'listen' , label : " Listen" }
8+ { type : 'positive' , label : ' Good response' } ,
9+ { type : 'negative' , label : ' Bad response' } ,
10+ { type : 'copy' , label : ' Copy' } ,
11+ { type : 'share' , label : ' Share' } ,
12+ { type : 'listen' , label : ' Listen' }
1313] ;
1414
1515describe ( 'ResponseActions' , ( ) => {
@@ -31,11 +31,11 @@ describe('ResponseActions', () => {
3131
3232 it ( 'should be able to change aria labels' , ( ) => {
3333 const actions = [
34- { type : 'positive' , ariaLabel : " Thumbs up" } ,
35- { type : 'negative' , ariaLabel : " Thumbs down" } ,
36- { type : 'copy' , ariaLabel : " Copy the message" } ,
37- { type : 'share' , ariaLabel : " Share it with friends" } ,
38- { type : 'listen' , ariaLabel : " Listen up" }
34+ { type : 'positive' , ariaLabel : ' Thumbs up' } ,
35+ { type : 'negative' , ariaLabel : ' Thumbs down' } ,
36+ { type : 'copy' , ariaLabel : ' Copy the message' } ,
37+ { type : 'share' , ariaLabel : ' Share it with friends' } ,
38+ { type : 'listen' , ariaLabel : ' Listen up' }
3939 ] ;
4040 actions . forEach ( ( { type, ariaLabel } ) => {
4141 render ( < ResponseActions actions = { { [ type ] : { onClick : jest . fn ( ) , ariaLabel } } } /> ) ;
0 commit comments