diff --git a/__tests__/integration/query.test.ts b/__tests__/integration/query.test.ts index 9a102074..1641a226 100644 --- a/__tests__/integration/query.test.ts +++ b/__tests__/integration/query.test.ts @@ -369,8 +369,8 @@ describe("query", () => { const httpClient = getDefaultHTTPClient(getDefaultHTTPClientOptions()); const badHTTPClient = { - async request(req: HTTPRequest) { - const badRequest: HTTPRequest = { + async request(req: HTTPRequest) { + const badRequest: HTTPRequest = { ...req, client_timeout_ms: 1, }; diff --git a/src/client.ts b/src/client.ts index 152d187c..cc04d1cb 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1,4 +1,3 @@ -import { QueryFailure } from "fauna"; import { ChangeFeedClientConfiguration, ClientConfiguration, @@ -37,6 +36,7 @@ import { StreamToken, } from "./values"; import { + QueryFailure, ChangeFeedRequest, ChangeFeedSuccess, EncodedObject,