Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Jul 3, 2023
1 parent 7fe1554 commit 81e46ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node/src/__tests__/test-helpers/test-fetch-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export type TestFetchClientOptions = {
* Try not to use this directly -- use createTestAnalytics instead.
*/
export class TestFetchClient implements CustomHTTPClient {
private withError: TestFetchClientOptions['withError']
private withError?: TestFetchClientOptions['withError']
private response?: TestFetchClientOptions['response']
constructor({ withError, response }: TestFetchClientOptions = {}) {
this.withError = withError || false
this.withError = withError
this.response = response
}
send(..._args: Parameters<CustomHTTPClient['send']>) {
Expand Down

0 comments on commit 81e46ed

Please sign in to comment.