test: support server-side unit testing (#2485)

This commit is contained in:
Michael Thomas
2026-03-12 09:39:41 -04:00
committed by GitHub
parent 40edaea43f
commit 8563362588
17 changed files with 2355 additions and 68 deletions

View File

@@ -16,6 +16,7 @@
"stylelint.vscode-stylelint",
"bradlc.vscode-tailwindcss"
"bradlc.vscode-tailwindcss",
"firsttris.vscode-jest-runner"
]
}

View File

@@ -23,5 +23,12 @@
"i18n-ally.localesPaths": [
"src/i18n/locale"
],
"yaml.format.singleQuote": true
"yaml.format.singleQuote": true,
"jestrunner.enableTestExplorer": true,
"jestrunner.defaultTestPatterns": [
"server/**/*.{test,spec}.?(c|m)[jt]s?(x)",
],
"jestrunner.nodeTestCommand": "pnpm test",
"jestrunner.changeDirectoryToWorkspaceRoot": true,
"jestrunner.projectPath": "."
}