fix ts issues
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 13s
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 13s
This commit is contained in:
parent
c597ef85b5
commit
876e86a3b7
2 changed files with 3 additions and 9 deletions
|
@ -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",
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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", () => {
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue