Files
Checkmate/Server/.mocharc.js
T
2024-10-11 10:39:18 +08:00

9 lines
371 B
JavaScript

module.exports = {
require: ["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
};