feature/IO-2885-IntelliPay-App-Postback
- Refactor / Add Tests
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
import { defineConfig } from "vitest/config";
|
||||
const { defineConfig } = require("vitest/config");
|
||||
|
||||
export default defineConfig({
|
||||
module.exports = defineConfig({
|
||||
test: {
|
||||
environment: "node",
|
||||
globals: true,
|
||||
include: ["./server/tests/**/*.{test,spec}.[jt]s"], // Only search /tests in root
|
||||
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
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user