File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
src/renderer/utils/notifications/handlers Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,13 @@ describe('renderer/utils/notifications/handlers/index.ts', () => {
3131 [ 'WorkflowRun' , workflowRunHandler ] ,
3232 ] ;
3333
34- it . each ( cases ) (
35- 'returns expected handler instance for %s' ,
36- ( type , expected ) => {
37- const notification = createPartialMockNotification ( { type } ) ;
38- const handler = createNotificationHandler ( notification ) ;
39- expect ( handler ) . toBe ( expected ) ;
40- } ,
41- ) ;
34+ it . each (
35+ cases ,
36+ ) ( 'returns expected handler instance for %s' , ( type , expected ) => {
37+ const notification = createPartialMockNotification ( { type } ) ;
38+ const handler = createNotificationHandler ( notification ) ;
39+ expect ( handler ) . toBe ( expected ) ;
40+ } ) ;
4241
4342 it ( 'falls back to default handler for unknown type' , ( ) => {
4443 const notification = createPartialMockNotification ( {
You can’t perform that action at this time.
0 commit comments