Skip to content

Commit f9ce67a

Browse files
committed
Update tests
1 parent 2b03278 commit f9ce67a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript_client/src/subscriptions/__tests__/createActionCableFetcherTest.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("createActionCableFetcherTest", () => {
2828

2929
var options = {
3030
consumer: (dummyActionCableConsumer as unknown) as Consumer,
31-
url: "/graphql",
31+
url: "/some_graphql_endpoint",
3232
fetch: dummyFetch as typeof fetch,
3333
fetchOptions: {
3434
custom: true,
@@ -58,7 +58,7 @@ describe("createActionCableFetcherTest", () => {
5858
return promise.then(() => {
5959
let res2 = fetcher({ operationName: null, query: "{ __typename } ", variables: {}}, {})
6060
const promise2 = res2.next().then(() => {
61-
expect(fetchLog).toEqual([["/graphql", true]])
61+
expect(fetchLog).toEqual([["/some_graphql_endpoint", true]])
6262
})
6363
return promise2
6464
})

0 commit comments

Comments
 (0)