@@ -35,7 +35,7 @@ describe('components/Sidebar.tsx', () => {
35
35
< MemoryRouter >
36
36
< Sidebar />
37
37
</ MemoryRouter >
38
- </ AppContext . Provider >
38
+ </ AppContext . Provider > ,
39
39
) ;
40
40
expect ( tree ) . toMatchSnapshot ( ) ;
41
41
} ) ;
@@ -48,7 +48,7 @@ describe('components/Sidebar.tsx', () => {
48
48
< MemoryRouter >
49
49
< Sidebar />
50
50
</ MemoryRouter >
51
- </ AppContext . Provider >
51
+ </ AppContext . Provider > ,
52
52
) ;
53
53
expect ( tree ) . toMatchSnapshot ( ) ;
54
54
} ) ;
@@ -61,7 +61,7 @@ describe('components/Sidebar.tsx', () => {
61
61
< MemoryRouter >
62
62
< Sidebar />
63
63
</ MemoryRouter >
64
- </ AppContext . Provider >
64
+ </ AppContext . Provider > ,
65
65
) ;
66
66
fetchNotifications . mockReset ( ) ;
67
67
fireEvent . click ( getByLabelText ( 'Refresh Notifications' ) ) ;
@@ -76,7 +76,7 @@ describe('components/Sidebar.tsx', () => {
76
76
< Router history = { history } >
77
77
< Sidebar />
78
78
</ Router >
79
- </ AppContext . Provider >
79
+ </ AppContext . Provider > ,
80
80
) ;
81
81
fireEvent . click ( getByLabelText ( 'Settings' ) ) ;
82
82
expect ( pushMock ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -93,12 +93,12 @@ describe('components/Sidebar.tsx', () => {
93
93
< MemoryRouter >
94
94
< Sidebar />
95
95
</ MemoryRouter >
96
- </ AppContext . Provider >
96
+ </ AppContext . Provider > ,
97
97
) ;
98
98
fireEvent . click ( getByLabelText ( '4 Unread Notifications' ) ) ;
99
99
expect ( shell . openExternal ) . toHaveBeenCalledTimes ( 1 ) ;
100
100
expect ( shell . openExternal ) . toHaveBeenCalledWith (
101
- 'https://github.com/notifications'
101
+ 'https://github.com/notifications' ,
102
102
) ;
103
103
} ) ;
104
104
@@ -108,7 +108,7 @@ describe('components/Sidebar.tsx', () => {
108
108
< MemoryRouter >
109
109
< Sidebar />
110
110
</ MemoryRouter >
111
- </ AppContext . Provider >
111
+ </ AppContext . Provider > ,
112
112
) ;
113
113
fireEvent . click ( getByLabelText ( 'Quit App' ) ) ;
114
114
expect ( ipcRenderer . send ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -121,12 +121,12 @@ describe('components/Sidebar.tsx', () => {
121
121
< MemoryRouter >
122
122
< Sidebar />
123
123
</ MemoryRouter >
124
- </ AppContext . Provider >
124
+ </ AppContext . Provider > ,
125
125
) ;
126
126
fireEvent . click ( screen . getByTestId ( 'gitify-logo' ) ) ;
127
127
expect ( shell . openExternal ) . toHaveBeenCalledTimes ( 1 ) ;
128
128
expect ( shell . openExternal ) . toHaveBeenCalledWith (
129
- 'https://github.com/gitify-app/gitify'
129
+ 'https://github.com/gitify-app/gitify' ,
130
130
) ;
131
131
} ) ;
132
132
@@ -137,7 +137,7 @@ describe('components/Sidebar.tsx', () => {
137
137
< MemoryRouter >
138
138
< Sidebar />
139
139
</ MemoryRouter >
140
- </ AppContext . Provider >
140
+ </ AppContext . Provider > ,
141
141
) ;
142
142
143
143
const notificationsIcon = getByLabelText ( '0 Unread Notifications' ) ;
@@ -157,7 +157,7 @@ describe('components/Sidebar.tsx', () => {
157
157
< MemoryRouter >
158
158
< Sidebar />
159
159
</ MemoryRouter >
160
- </ AppContext . Provider >
160
+ </ AppContext . Provider > ,
161
161
) ;
162
162
163
163
const notificationsIcon = getByLabelText ( '4 Unread Notifications' ) ;
0 commit comments