cqrs-eda
Version:
Lightweight CQRS and Event-Driven Architecture library using TypeScript decorators, handlers and typings. Perfect for scalable event-driven apps.
20 lines (19 loc) • 403 B
JavaScript
/** @type {import('vitest/config').UserConfig} */
module.exports = {
test: {
globals: true,
environment: "node",
include: ["src/**/*.test.ts"],
coverage: {
reporter: ["text", "html"],
reportsDirectory: "coverage",
exclude: [
"src/index.ts",
"dist",
"src/types/**",
"src/**/*.d.ts",
"vitest.config.cjs",
],
},
},
};