Fix lint
All checks were successful
Test / build (push) Successful in 12s

This commit is contained in:
Ethan Lane 2024-07-25 18:42:57 +01:00
parent 52be4481d4
commit 49f4f4f804

View file

@ -16,7 +16,7 @@ describe("RegisterCommands", () => {
const commandFiles = getFilesInDirectory(path.join(process.cwd(), "src", "commands"))
.filter(x => x.endsWith(".ts"));
for (let file of commandFiles) {
for (const file of commandFiles) {
expect(registeredCommands).toContain(file.split("/").pop()!.split(".")[0]);
}
@ -37,7 +37,7 @@ describe("RegisterButtonEvents", () => {
const eventFiles = getFilesInDirectory(path.join(process.cwd(), "src", "buttonEvents"))
.filter(x => x.endsWith(".ts"));
for (let file of eventFiles) {
for (const file of eventFiles) {
expect(registeredButtonEvents).toContain(file.split("/").pop()!.split(".")[0].toLowerCase());
}