Files
bodyshop/vitest.config.js
Dave Richer 9bf6ba9cf0 feature/IO-2885-IntelliPay-App-Postback
- Refactor / Add Tests
2025-04-02 11:09:03 -04:00

14 lines
431 B
JavaScript

const { defineConfig } = require("vitest/config");
module.exports = defineConfig({
test: {
environment: "node",
globals: true,
include: [
"./server/tests/**/*.{test,spec}.[jt]s", // Existing pattern for /server/tests
"./server/**/*.test.js" // New pattern for test.js in server and subfolders
],
exclude: ["**/client/**", "**/node_modules/**", "**/dist/**"] // Explicitly exclude /client
}
});