Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added support for additional file conventions #11

Merged
merged 2 commits into from

2 participants

@JanVanRyswyck

Added support for _specifications.js and Specifications.js file name conventions.

@marcinbunsch marcinbunsch merged commit 8e1a47c into futuresimple:master
@marcinbunsch

Pulled in, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jessie/finder.js
View
2  lib/jessie/finder.js
@@ -10,7 +10,7 @@ function abs_path(file_or_dir, base_path) {
exports.finder = function() {
this.find = function(files_or_dirs, path) {
- var regex = /(_spec|Spec)\.(js|coffee)$/
+ var regex = /(_spec|_specifications|Spec|Specifications)\.(js|coffee)$/
var specs = [];
var finder = this;
files_or_dirs.forEach(function(file_or_dir) {
Something went wrong with that request. Please try again.