Add mocha, chai, and sinon for testing
This commit is contained in:
1 parent
8578304ca4
commit
485e520dcb
3 files changed
+694
-3
No files matched your search
@@ -0,0 +1,8 @@
|
||||
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
|
||||
};
|
||||
Reference in new issue
Block a user