Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More log output in specs
  • Loading branch information
analog-nico committed Aug 4, 2014
1 parent 6d3d96f commit c57aca7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .jshintrc
Expand Up @@ -82,6 +82,7 @@

// Additional globals introduced by Jasmine
"globals": {
"jasmine" : false,
"describe" : false,
"it" : false,
"expect" : false,
Expand Down
5 changes: 5 additions & 0 deletions test/spec/api.js
Expand Up @@ -10,6 +10,11 @@ describe('The es-sequence API', function() {
var sequence = require('../../index.js');


beforeEach(function () {
console.log('Running: The es-sequence API ' + jasmine.getEnv().currentSpec.description);
});


it('should throw invalid parameters for init', function (done) {

var count = 5;
Expand Down
5 changes: 5 additions & 0 deletions test/spec/connectivity.js
Expand Up @@ -33,6 +33,11 @@ describe('Regarding connectivity, es-sequence', function() {
}


beforeEach(function () {
console.log('Running: Regarding connectivity, es-sequence ' + jasmine.getEnv().currentSpec.description);
});


it('should handle that Elasticsearch is offline', function (done) {
sequence.init(esClientOffline)
.then(function () {
Expand Down

0 comments on commit c57aca7

Please sign in to comment.