Skip to content

Commit

Permalink
add new jsreporter to jasmine environment
Browse files Browse the repository at this point in the history
for 43ba74c
old one did it automatically, this one requires a lil' configuration

i think this may be what was causing saucelabs to timeout
(no `window.jasmine.getJSReport`)

no idea why this wasn't failing every time
guess i'll know in 7 minutes if this was it
  • Loading branch information
gordonwoodhull committed Dec 22, 2015
1 parent 7f60197 commit fa68f16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ module.exports = function (grunt) {
summary: true,
specs: '<%= conf.spec %>/*-spec.js',
helpers: [
'<%= conf.spec %>/helpers/*.js',
'<%= conf.web %>/js/jasmine-jsreporter.js'
'<%= conf.web %>/js/jasmine-jsreporter.js',
'<%= conf.spec %>/helpers/*.js'
],
version: '2.0.0',
outfile: '<%= conf.spec %>/index.html',
Expand Down
2 changes: 2 additions & 0 deletions spec/helpers/spec-helper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/* global parseTranslate */
// reporter for saucelabs
jasmine.getEnv().addReporter(new jasmine.JSReporter2());
beforeEach(function () {
d3.select('body').append('div').attr('id', 'test-content');
jasmine.clock().install();
Expand Down

0 comments on commit fa68f16

Please sign in to comment.