Skip to content

Commit 0c3649c

Browse files
committed
Merge pull request brianc#109 from kevinoid/for-upstream/test-js-only
Only test .js files in test/dialects
2 parents fce2bbe + d43ced1 commit 0c3649c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ directories.forEach(function (d) {
1414
/*jshint boss: true */
1515
for(var i = 0, file; file = files[i]; i++) {
1616
var filePath = path.join(d, file);
17-
require(filePath);
17+
if (path.extname(file) === '.js') {
18+
require(filePath);
19+
}
1820
}
1921
});

0 commit comments

Comments
 (0)