Skip to content

Commit

Permalink
chore: updating experimental router context for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastia committed Feb 14, 2024
1 parent 6c70d4c commit 879ca2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/tests/helpers/componentTestingHelper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
OperationType,
} from "relay-runtime";
import { MockResolvers } from "relay-test-utils/lib/RelayMockPayloadGenerator";
import { RouterContext } from "next/dist/shared/lib/router-context";
import { RouterContext } from "next/dist/shared/lib/router-context.shared-runtime";
import TestingHelper from "./TestingHelper";

interface ComponentTestingHelperOptions<TQuery extends OperationType> {
Expand Down
2 changes: 1 addition & 1 deletion app/tests/helpers/pageTestingHelper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import { RelayProps } from "relay-nextjs";
import { ConcreteRequest, OperationType } from "relay-runtime";
import { MockResolvers } from "relay-test-utils/lib/RelayMockPayloadGenerator";
import { RouterContext } from "next/dist/shared/lib/router-context";
import { RouterContext } from "next/dist/shared/lib/router-context.shared-runtime";
import TestingHelper from "./TestingHelper";

interface PageTestingHelperOptions<TQuery extends OperationType> {
Expand Down

0 comments on commit 879ca2b

Please sign in to comment.