test(markdown-it-plugins): replace jest with vitest

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2025-04-26 11:30:37 +02:00
parent 97219ef497
commit 62ad4da0e7
No known key found for this signature in database
GPG key ID: FE1CD209E3EA5E85
10 changed files with 162 additions and 67 deletions

View file

@ -13,13 +13,8 @@ module.exports = {
},
"plugins": [
"@typescript-eslint",
"jest",
"prettier"
],
"env": {
"jest": true,
"jest/globals": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
@ -30,11 +25,6 @@ module.exports = {
"rules": {
"prettier/prettier": ["error",
require('./.prettierrc.json')
],
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
]
}
}