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"
},
"jest": {
"transform": {
"^.+/src/utils/.+ts$": [
"ts-jest",
{}
]
}
"preset": "ts-jest"
}
}

View file

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