fix test pattern

support node v22
This commit is contained in:
Nebel 2024-07-26 13:30:16 +09:00
parent c8688c941e
commit b64779d5bc
Signed by: nebel
GPG key ID: 79807D08C6EF6460

View file

@ -10,7 +10,7 @@
], ],
"scripts": { "scripts": {
"prepare": "git config core.hooksPath .githooks", "prepare": "git config core.hooksPath .githooks",
"test": "find src -name '*.md' -exec markdown-link-check {} + && node --test src && npm test --workspaces", "test": "find src -name '*.md' -exec markdown-link-check {} + && node --test 'src/**/*.test.js' && npm test --workspaces",
"format": "prettier --write ." "format": "prettier --write ."
}, },
"devDependencies": { "devDependencies": {