mirror of
https://github.com/coder/coder.git
synced 2026-11-06 00:03:36 +08:00
chore: migrate a bunch of tests to vitest (#21514)
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import { ClassicParameterFlowDeprecationWarning } from "./ClassicParameterFlowDeprecationWarning";
|
||||
|
||||
jest.mock("modules/navigation", () => ({
|
||||
vi.mock("modules/navigation", () => ({
|
||||
useLinks: () => () => "/mock-link",
|
||||
linkToTemplate: () => "/mock-template-link",
|
||||
}));
|
||||
Reference in New Issue
Block a user