fix ts issues
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 13s

This commit is contained in:
Mylloon 2024-09-27 12:42:46 +02:00
parent c597ef85b5
commit 876e86a3b7
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 3 additions and 9 deletions

View file

@ -42,11 +42,6 @@
"ts-node-dev": "~2.0.0" "ts-node-dev": "~2.0.0"
}, },
"jest": { "jest": {
"transform": { "preset": "ts-jest"
"^.+/src/utils/.+ts$": [
"ts-jest",
{}
]
}
} }
} }

View file

@ -1,11 +1,10 @@
const { import {
cleanCodeBlock, cleanCodeBlock,
emojiPng, emojiPng,
isImage, isImage,
removeExtension, removeExtension,
splitFilenameExtensions, splitFilenameExtensions,
// eslint-disable-next-line @typescript-eslint/no-require-imports } from "../src/utils/misc";
} = require("../src/utils/misc");
describe("Filename splitter", () => { describe("Filename splitter", () => {
{ {