Skip to content

Commit

Permalink
fix(test-utils): fix mockedApp.shouldHaveLastRequests typings
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jan 13, 2020
1 parent a17867b commit a3c8494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/test-utils/src/mocks.ts
Expand Up @@ -62,7 +62,7 @@ export class MockedApp extends App {
this.clearRequests()
}

shouldHaveLastRequests (requests: RequestInfo[]) {
shouldHaveLastRequests (requests: RequestData[]) {
expect(this.sender.requests.slice(0, requests.length)).toMatchObject(requests.map(snakeCase).reverse())
this.clearRequests()
}
Expand Down

0 comments on commit a3c8494

Please sign in to comment.