tests: use node:test #210
7 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
import "../../modules/string";
|
||||
import "../../src/modules/string";
|
||||
|
||||
import { describe, it } from "node:test";
|
||||
import assert from "node:assert/strict";
|
|
@ -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 assert from "node:assert/strict";
|
|
@ -1,5 +1,5 @@
|
|||
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 assert from "node:assert/strict";
|
|
@ -4,7 +4,7 @@ import {
|
|||
isImage,
|
||||
removeExtension,
|
||||
splitFilenameExtensions,
|
||||
} from "../../utils/misc";
|
||||
} from "../../src/utils/misc";
|
||||
|
||||
import { describe, it } from "node:test";
|
||||
import assert from "node:assert/strict";
|
|
@ -1,4 +1,4 @@
|
|||
import { RegexC, RegExpFlags } from "../../utils/regex";
|
||||
import { RegexC, RegExpFlags } from "../../src/utils/regex";
|
||||
|
||||
import { describe, it } from "node:test";
|
||||
import assert from "node:assert/strict";
|
|
@ -4,7 +4,7 @@ import {
|
|||
strToSeconds,
|
||||
timeDeltaToString,
|
||||
TimeSecond,
|
||||
} from "../../utils/time";
|
||||
} from "../../src/utils/time";
|
||||
|
||||
import { describe, it } from "node:test";
|
||||
import assert from "node:assert/strict";
|
|
@ -103,5 +103,5 @@
|
|||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
||||
},
|
||||
"include": ["./**/*.ts", "./src/locales/*.json"],
|
||||
"exclude": ["./src/tests"]
|
||||
"exclude": ["tests"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue