Skip to content

Commit

Permalink
Update platform.service.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
janithlahirukariyawasam committed Jan 17, 2024
1 parent 8f6be36 commit a9b70e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/admin/platform.service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ describe('Platform Service', () => {
mockPlatformRepository
)

await expect(updatePlatformDetails({} as Platform)).rejects.toThrowError(
'Error updating platform'
)
await expect(
updatePlatformDetails({} as unknown as Platform)
).rejects.toThrowError('Error updating platform')
})
})
})

0 comments on commit a9b70e7

Please sign in to comment.