Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb326904

Browse files
committed
Put tests in the right folders
1 parent20b52be commitb326904

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
awaitexpect(cliUtils.version(binPath)).rejects.toThrow("ENOENT");
3333

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

6060
constoldTmpl=awaitfs.readFile(
61-
path.join(__dirname,"../fixtures/bin.old.bash"),
61+
path.join(__dirname,"../../fixtures/bin.old.bash"),
6262
"utf8",
6363
);
6464
constold=(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
constbasePath=
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp