From eae2ddb0eb283b0f0adfcf4a697b80f90070ba10 Mon Sep 17 00:00:00 2001 From: Ken Takahashi Date: Mon, 22 Apr 2024 16:34:54 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=81=AE=E3=83=91?= =?UTF-8?q?=E3=82=B9=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __tests__/index.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/index.test.ts b/__tests__/index.test.ts index 263626e..0de9434 100644 --- a/__tests__/index.test.ts +++ b/__tests__/index.test.ts @@ -26,14 +26,14 @@ describe("Node.jsの基本問題2", () => { expect(spy).toHaveLastReturnedWith(answer); }); test("csvの内容が変更されても結果が正しい", async () => { - await cp("./__test__/seiseki_other.csv", "./seiseki.csv", { force: true }); + await cp("./__tests__/seiseki_other.csv", "./seiseki.csv", { force: true }); const spy = vi .spyOn(global.console, "log") .mockImplementation((args) => args); await main2(); const answer = await readFile("./seiseki.csv", "utf-8"); expect(spy).toHaveLastReturnedWith(answer); - await cp("./__test__/seiseki.csv", "./seiseki.csv", { force: true }); + await cp("./__tests__/seiseki.csv", "./seiseki.csv", { force: true }); }); });