File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ describe('fetchProduct service', () => {
66 productId : 'test-product' ,
77 productName : 'Test Product' ,
88 brand : 'Test Brand' ,
9- }
9+ } as SearchProduct
1010
1111 beforeEach ( ( ) => {
1212 jest . clearAllMocks ( )
@@ -31,7 +31,7 @@ describe('fetchProduct service', () => {
3131 salesChannel : 1 ,
3232 }
3333
34- const result = await fetchProduct ( ctx as any , args )
34+ const result = await fetchProduct ( ctx , args )
3535
3636 expect ( ctx . clients . intsch . fetchProduct ) . toHaveBeenCalled ( )
3737 expect ( result ) . toEqual ( [ mockProduct ] )
@@ -56,7 +56,7 @@ describe('fetchProduct service', () => {
5656 salesChannel : 1 ,
5757 }
5858
59- const result = await fetchProduct ( ctx as any , args )
59+ const result = await fetchProduct ( ctx , args )
6060
6161 expect ( ctx . clients . intsch . fetchProduct ) . toHaveBeenCalled ( )
6262 expect ( result ) . toEqual ( [ mockProduct ] )
You can’t perform that action at this time.
0 commit comments