From a68dbaa5fa0dc6cfdaf921b4ada05739c86219cc Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Mon, 11 Mar 2024 14:47:55 -0400 Subject: [PATCH] Revert "Fix lint issue" This reverts commit 496788ea3138e258d341b34da646d83867c4a443. --- packages/router/__tests__/data-strategy-test.ts | 2 +- packages/router/__tests__/should-revalidate-test.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/router/__tests__/data-strategy-test.ts b/packages/router/__tests__/data-strategy-test.ts index 6cdff873bc..c965d6321d 100644 --- a/packages/router/__tests__/data-strategy-test.ts +++ b/packages/router/__tests__/data-strategy-test.ts @@ -1,6 +1,6 @@ import type { DataStrategyFunction, DataStrategyMatch } from "../utils"; import { json } from "../utils"; -import { createDeferred, setup } from "./utils/data-router-setup"; +import { cleanup, createDeferred, setup } from "./utils/data-router-setup"; import { createFormData, tick } from "./utils/utils"; describe("router dataStrategy", () => { diff --git a/packages/router/__tests__/should-revalidate-test.ts b/packages/router/__tests__/should-revalidate-test.ts index be7622b5a6..e2895ddf1b 100644 --- a/packages/router/__tests__/should-revalidate-test.ts +++ b/packages/router/__tests__/should-revalidate-test.ts @@ -1,6 +1,5 @@ import { createMemoryHistory, createRouter, redirect } from "../index"; -import type { ShouldRevalidateFunctionArgs } from "../utils"; -import { ErrorResponseImpl } from "../utils"; +import { ErrorResponseImpl, type ShouldRevalidateFunctionArgs } from "../utils"; import { urlMatch } from "./utils/custom-matchers"; import { cleanup } from "./utils/data-router-setup"; import { createFormData, tick } from "./utils/utils";