Skip to content

Commit b326904

Browse files
committed
Put tests in the right folders
1 parent 20b52be commit b326904

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed
File renamed without changes.

test/unit/cliUtils.test.ts renamed to test/unit/core/cliUtils.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe("CliUtils", () => {
3232
await expect(cliUtils.version(binPath)).rejects.toThrow("ENOENT");
3333

3434
const binTmpl = await fs.readFile(
35-
path.join(__dirname, "../fixtures/bin.bash"),
35+
path.join(__dirname, "../../fixtures/bin.bash"),
3636
"utf8",
3737
);
3838
await fs.writeFile(binPath, binTmpl.replace("$ECHO", "hello"));
@@ -58,7 +58,7 @@ describe("CliUtils", () => {
5858
expect(await cliUtils.version(binPath)).toBe("v0.0.0");
5959

6060
const oldTmpl = await fs.readFile(
61-
path.join(__dirname, "../fixtures/bin.old.bash"),
61+
path.join(__dirname, "../../fixtures/bin.old.bash"),
6262
"utf8",
6363
);
6464
const old = (stderr: string, stdout: string): string => {
File renamed without changes.

test/unit/pathResolver.test.ts renamed to test/unit/core/pathResolver.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { beforeEach, describe, expect, it, vi } from "vitest";
33

44
import { PathResolver } from "@/core/pathResolver";
55

6-
import { MockConfigurationProvider } from "../mocks/testHelpers";
6+
import { MockConfigurationProvider } from "../../mocks/testHelpers";
77

88
describe("PathResolver", () => {
99
const basePath =
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)