Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Add Literate CoffeeScript support for --watch mode

Marc Kuo441561111f51
diff --git a/lib/utils.js b/lib/utils.js
index 0ac93709..939a8aa6 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -1,4 +1,3 @@
-
/**
* Module dependencies.
*/
@@ -163,7 +162,7 @@ exports.files = function(dir, ret){
path = join(dir, path);
if (fs.statSync(path).isDirectory()) {
exports.files(path, ret);
- } else if (path.match(/\.(js|coffee)$/)) {
+ } else if (path.match(/\.(js|coffee|litcoffee|coffee.md)$/)) {
ret.push(path);
}
});