Skip to content

Commit

Permalink
Split up router-test.ts (#10929)
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 authored Oct 12, 2023
1 parent e74b935 commit e2c0d82
Show file tree
Hide file tree
Showing 21 changed files with 17,178 additions and 16,808 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
waitFor,
} from "@testing-library/react";
import { JSDOM } from "jsdom";
import createDeferred from "../../router/__tests__/utils/createDeferred";
import { createDeferred } from "../../router/__tests__/utils/utils";
import getHtml from "react-router/__tests__/utils/getHtml";

describe("Handles concurrent mode features during navigations", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
createRoutesFromElements,
} from "react-router-dom";

import createDeferred from "../../router/__tests__/utils/createDeferred";
import { createDeferred } from "../../router/__tests__/utils/utils";
import getHtml from "../../react-router/__tests__/utils/getHtml";

testDomRouter("<DataBrowserRouter>", createBrowserRouter, (url) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
useRouteLoaderData,
} from "react-router";

import createDeferred from "../../router/__tests__/utils/createDeferred";
import { createDeferred } from "../../router/__tests__/utils/utils";
import MemoryNavigate from "./utils/MemoryNavigate";
import getHtml from "./utils/getHtml";

Expand Down
Loading

0 comments on commit e2c0d82

Please sign in to comment.