Skip to content

Commit 1289214

Browse files
fix: add unknown cast to fix TypeScript strict type check in E2E test
1 parent 8629e65 commit 1289214

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/shopping-flow.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ test.describe('@e2e @critical Shopping Flow', () => {
7878
const updatedUser = userFactory.create()
7979
const updated = await apiClient.updateUser(1, {
8080
name: updatedUser.name,
81-
}) as { name: string; id: number }
81+
}) as unknown as { name: string; id: number }
8282
expect(updated.name).toBe(updatedUser.name)
8383
expect(updated.id).toBeDefined()
8484

0 commit comments

Comments
 (0)