Skip to content

Commit 914d587

Browse files
fix: type errors
1 parent c1d09d8 commit 914d587

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

gui/src/components/CliInstallBanner.test.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ import {
66
waitFor,
77
} from "@testing-library/react";
88
import { beforeEach, describe, expect, it, vi } from "vitest";
9-
import { IdeMessengerContext } from "../../context/IdeMessenger";
10-
import { MockIdeMessenger } from "../../context/MockIdeMessenger";
11-
import * as util from "../../util";
12-
import * as localStorage from "../../util/localStorage";
9+
import { IdeMessengerContext } from "../context/IdeMessenger";
10+
import { MockIdeMessenger } from "../context/MockIdeMessenger";
11+
import * as util from "../util";
12+
import * as localStorage from "../util/localStorage";
1313
import { CliInstallBanner } from "./CliInstallBanner";
1414

15-
vi.mock("../../util", async () => {
16-
const actual = await vi.importActual("../../util");
15+
vi.mock("../util", async () => {
16+
const actual = await vi.importActual("../util");
1717
return {
1818
...actual,
1919
getPlatform: vi.fn(),
2020
};
2121
});
2222

23-
vi.mock("../../util/localStorage", async () => {
24-
const actual = await vi.importActual("../../util/localStorage");
23+
vi.mock("../util/localStorage", async () => {
24+
const actual = await vi.importActual("../util/localStorage");
2525
return {
2626
...actual,
2727
getLocalStorage: vi.fn(),

0 commit comments

Comments
 (0)