Files
Checkmate/Server/.mocharc.cjs
T

8 lines
369 B
JavaScript
Raw Normal View History

2024-10-15 14:00:24 +08:00
module.exports = {
2024-10-16 13:22:39 +08:00
require: ["esm", "chai/register-expect.js"], // Include Chai's "expect" interface globally
spec: "tests/**/*.test.js", // Specify test files
timeout: 5000, // Set test-case timeout in milliseconds
recursive: true, // Include subdirectories
reporter: "spec", // Use the "spec" reporter
exit: true, // Force Mocha to quit after tests complete
2024-10-15 14:00:24 +08:00
};