Skip to content

Commit 1170061

Browse files
committed
Follow symlinks when discovering specs.
This was the behavior before commit 0b91da1 when jasmine-node switched to using walkdir instead of findit.
1 parent ac0912b commit 1170061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jasmine-node/spec-collection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var createSpecObj = function(path, root) {
1414
};
1515

1616
exports.load = function(loadpath, matcher) {
17-
var wannaBeSpecs = walkdir.sync(loadpath)
17+
var wannaBeSpecs = walkdir.sync(loadpath, { follow_symlinks: true })
1818
specs = [];
1919

2020
for (var i = 0; i < wannaBeSpecs.length; i++) {

0 commit comments

Comments
 (0)