move tests to parent
Some checks failed
PR Check / lint-and-format (pull_request) Failing after 32s

This commit is contained in:
Mylloon 2024-12-10 10:24:55 +01:00
parent 4d01dabda1
commit d8fb65f583
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
7 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
import "../../modules/string"; import "../../src/modules/string";
import { describe, it } from "node:test"; import { describe, it } from "node:test";
import assert from "node:assert/strict"; import assert from "node:assert/strict";

View file

@ -1,4 +1,4 @@
import { OptionReminder, splitTime } from "../../../utils/commands/reminder"; import { OptionReminder, splitTime } from "../../../src/utils/commands/reminder";
import { describe, it } from "node:test"; import { describe, it } from "node:test";
import assert from "node:assert/strict"; import assert from "node:assert/strict";

View file

@ -1,5 +1,5 @@
import { Attachment, Collection, EmbedBuilder } from "discord.js"; import { Attachment, Collection, EmbedBuilder } from "discord.js";
import { handleAttachments } from "../../../utils/events/citation"; import { handleAttachments } from "../../../src/utils/events/citation";
import { describe, it } from "node:test"; import { describe, it } from "node:test";
import assert from "node:assert/strict"; import assert from "node:assert/strict";

View file

@ -4,7 +4,7 @@ import {
isImage, isImage,
removeExtension, removeExtension,
splitFilenameExtensions, splitFilenameExtensions,
} from "../../utils/misc"; } from "../../src/utils/misc";
import { describe, it } from "node:test"; import { describe, it } from "node:test";
import assert from "node:assert/strict"; import assert from "node:assert/strict";

View file

@ -1,4 +1,4 @@
import { RegexC, RegExpFlags } from "../../utils/regex"; import { RegexC, RegExpFlags } from "../../src/utils/regex";
import { describe, it } from "node:test"; import { describe, it } from "node:test";
import assert from "node:assert/strict"; import assert from "node:assert/strict";

View file

@ -4,7 +4,7 @@ import {
strToSeconds, strToSeconds,
timeDeltaToString, timeDeltaToString,
TimeSecond, TimeSecond,
} from "../../utils/time"; } from "../../src/utils/time";
import { describe, it } from "node:test"; import { describe, it } from "node:test";
import assert from "node:assert/strict"; import assert from "node:assert/strict";

View file

@ -103,5 +103,5 @@
"skipLibCheck": true /* Skip type checking all .d.ts files. */ "skipLibCheck": true /* Skip type checking all .d.ts files. */
}, },
"include": ["./**/*.ts", "./src/locales/*.json"], "include": ["./**/*.ts", "./src/locales/*.json"],
"exclude": ["./src/tests"] "exclude": ["tests"]
} }