From d6433a67c8885be897a5069e57a0a7ecf5819689 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 11 Mar 2014 13:01:28 -0700 Subject: [PATCH] Incluse JavaScript specs when loading suite Closes #1615 --- spec/spec-suite.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec-suite.coffee b/spec/spec-suite.coffee index c27d82548..a82e0289f 100644 --- a/spec/spec-suite.coffee +++ b/spec/spec-suite.coffee @@ -5,7 +5,7 @@ path = require 'path' require './spec-helper' requireSpecs = (specDirectory, specType) -> - for specFilePath in fs.listTreeSync(specDirectory) when /-spec\.coffee$/.test specFilePath + for specFilePath in fs.listTreeSync(specDirectory) when /-spec\.(coffee|js)$/.test specFilePath require specFilePath # Set spec directory on spec for setting up the project in spec-helper