diff --git a/packages/next-urql/src/__tests__/with-urql-client.spec.ts b/packages/next-urql/src/__tests__/with-urql-client.spec.ts index aada45e966..bef0d00e77 100644 --- a/packages/next-urql/src/__tests__/with-urql-client.spec.ts +++ b/packages/next-urql/src/__tests__/with-urql-client.spec.ts @@ -32,9 +32,9 @@ describe('withUrqlClient', () => { describe('with client options', () => { beforeEach(() => { Component = withUrqlClient( - () => ({ + ssr => ({ url: 'http://localhost:3000', - exchanges: [dedupExchange, cacheExchange, fetchExchange], + exchanges: [dedupExchange, cacheExchange, ssr, fetchExchange], }), { ssr: true,