Skip to content

Commit

Permalink
test: add FooResponse generic
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Nov 1, 2023
1 parent 886ad20 commit 73e8ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('unrested', () => {
})

it('GET request', async () => {
const response = await client.foo.get()
const response = await client.foo.get<FooResponse>()
expect(response).toEqual({ foo: 'bar' })
})

Expand Down

0 comments on commit 73e8ee2

Please sign in to comment.