jasmine
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -15,2 +15,3 @@ module.exports = exports = ConsoleReporter; | ||
specCount, | ||
executableSpecCount, | ||
failureCount, | ||
@@ -35,2 +36,3 @@ failedSpecs = [], | ||
specCount = 0; | ||
executableSpecCount = 0; | ||
failureCount = 0; | ||
@@ -62,3 +64,7 @@ print('Started'); | ||
var specCounts = specCount + ' ' + plural('spec', specCount) + ', ' + | ||
if(executableSpecCount !== specCount) { | ||
print('Ran ' + executableSpecCount + ' of ' + specCount + plural(' spec', specCount)); | ||
printNewline(); | ||
} | ||
var specCounts = executableSpecCount + ' ' + plural('spec', executableSpecCount) + ', ' + | ||
failureCount + ' ' + plural('failure', failureCount); | ||
@@ -92,2 +98,3 @@ | ||
pendingSpecs.push(result); | ||
executableSpecCount++; | ||
print(colored('yellow', '*')); | ||
@@ -98,2 +105,3 @@ return; | ||
if (result.status == 'passed') { | ||
executableSpecCount++; | ||
print(colored('green', '.')); | ||
@@ -106,2 +114,3 @@ return; | ||
failedSpecs.push(result); | ||
executableSpecCount++; | ||
print(colored('red', 'F')); | ||
@@ -108,0 +117,0 @@ } |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"repository": { | ||
@@ -15,0 +15,0 @@ "type": "git", |
@@ -35,2 +35,3 @@ [![Build Status](https://travis-ci.org/jasmine/jasmine-npm.png?branch=master)](https://travis-ci.org/jasmine/jasmine-npm) | ||
You may use dir glob strings. | ||
More information on the format of `jasmine.json` can be found in [the documentation](http://jasmine.github.io/2.3/node.html#section-Configuration) | ||
@@ -37,0 +38,0 @@ Alternatively, you may specify the path to your `jasmine.json` by setting an environment variable: |
@@ -10,3 +10,3 @@ 'use strict'; | ||
jasmine.loadConfigFile('./spec/support/jasmine.json'); | ||
jasmine.loadConfigFile(process.env.JASMINE_CONFIG_PATH || './spec/support/jasmine.json'); | ||
jasmine.onComplete(done); | ||
@@ -13,0 +13,0 @@ jasmine.execute(); |
596
49
21766
14
7