From 5279c63fa228c1092b98badf9901cd6461b21a1b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 27 Sep 2024 15:14:51 +0200 Subject: [PATCH] move tests --- {tests => src/tests}/modules/string.test.ts | 2 +- {tests => src/tests}/utils/misc.test.ts | 2 +- {tests => src/tests}/utils/reminder.test.ts | 2 +- {tests => src/tests}/utils/time.test.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename {tests => src/tests}/modules/string.test.ts (93%) rename {tests => src/tests}/utils/misc.test.ts (99%) rename {tests => src/tests}/utils/reminder.test.ts (90%) rename {tests => src/tests}/utils/time.test.ts (95%) diff --git a/tests/modules/string.test.ts b/src/tests/modules/string.test.ts similarity index 93% rename from tests/modules/string.test.ts rename to src/tests/modules/string.test.ts index 06e45e8..e37ebb8 100644 --- a/tests/modules/string.test.ts +++ b/src/tests/modules/string.test.ts @@ -1,4 +1,4 @@ -import "../../src/modules/string"; +import "../../modules/string"; describe("Capitalize", () => { { diff --git a/tests/utils/misc.test.ts b/src/tests/utils/misc.test.ts similarity index 99% rename from tests/utils/misc.test.ts rename to src/tests/utils/misc.test.ts index 9aba758..ea96765 100644 --- a/tests/utils/misc.test.ts +++ b/src/tests/utils/misc.test.ts @@ -4,7 +4,7 @@ import { isImage, removeExtension, splitFilenameExtensions, -} from "../../src/utils/misc"; +} from "../../utils/misc"; describe("Filename splitter", () => { { diff --git a/tests/utils/reminder.test.ts b/src/tests/utils/reminder.test.ts similarity index 90% rename from tests/utils/reminder.test.ts rename to src/tests/utils/reminder.test.ts index fb708e7..0fb814f 100644 --- a/tests/utils/reminder.test.ts +++ b/src/tests/utils/reminder.test.ts @@ -1,4 +1,4 @@ -import { OptionReminder, splitTime } from "../../src/utils/reminder"; +import { OptionReminder, splitTime } from "../../utils/reminder"; describe("Time splitter", () => { { diff --git a/tests/utils/time.test.ts b/src/tests/utils/time.test.ts similarity index 95% rename from tests/utils/time.test.ts rename to src/tests/utils/time.test.ts index 82266ff..67140e9 100644 --- a/tests/utils/time.test.ts +++ b/src/tests/utils/time.test.ts @@ -1,4 +1,4 @@ -import { showDate } from "../../src/utils/time"; +import { showDate } from "../../utils/time"; describe("Date with correct timezone", () => { const map = new Map([["u_time_at", "@"]]);