Skip to content

Commit 88b9f7a

Browse files
committed
Fix lint
1 parent b802694 commit 88b9f7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

node/services/product.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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])

0 commit comments

Comments
 (0)