Skip to content

Commit

Permalink
fix integration tests with changes to dot reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jul 2, 2016
1 parent a8e63d1 commit dedf03d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
37 changes: 19 additions & 18 deletions test/integration/hook.err.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var assert = require('assert');
var runMocha = require('./helpers').runMocha;
var splitRegExp = require('./helpers').splitRegExp;
var bang = require('../../lib/reporters/base').symbols.bang;

describe('hook error handling', function() {
this.timeout(2000);
Expand All @@ -12,7 +13,7 @@ describe('hook error handling', function() {
it('should verify results', function() {
assert.deepEqual(
lines,
['before', 'test 3']
['before', bang + 'test 3']
);
});
});
Expand All @@ -32,7 +33,7 @@ describe('hook error handling', function() {
it('should verify results', function() {
assert.deepEqual(
lines,
['before', 'test 3']
['before', bang + 'test 3']
);
});
});
Expand All @@ -42,7 +43,7 @@ describe('hook error handling', function() {
it('should verify results', function() {
assert.deepEqual(
lines,
['test 1', 'test 2', 'after', 'test 3']
['test 1', 'test 2', 'after', bang + 'test 3']
);
});
});
Expand All @@ -52,7 +53,7 @@ describe('hook error handling', function() {
it('should verify results', function() {
assert.deepEqual(
lines,
['test 1', 'after', 'test 3']
['test 1', 'after', bang + 'test 3']
);
});
});
Expand All @@ -68,25 +69,25 @@ describe('hook error handling', function() {
'root before each',
'1 before each',
'1-1 before each',
'1-1 after each',
bang + '1-1 after each',
'1 after each',
'root after each',
'1-1 after',
'1-2 before',
bang + '1-2 before',
'root before each',
'1 before each',
'1-2 before each',
'1-2 test 1',
'1-2 after each',
'1 after each',
bang + '1 after each',
'root after each',
'1-2 after',
'1 after',
'2-1 before',
'root before each',
'2 before each',
'2 after each',
'root after each',
bang + '2 after each',
bang + 'root after each',
'2-1 after',
'2 after',
'root after'
Expand All @@ -100,7 +101,7 @@ describe('hook error handling', function() {
it('should verify results', function() {
assert.deepEqual(
lines,
['before', 'test 3']
['before', bang + 'test 3']
);
});
});
Expand All @@ -120,7 +121,7 @@ describe('hook error handling', function() {
it('should verify results', function() {
assert.deepEqual(
lines,
['before', 'test 3']
['before', bang + 'test 3']
);
});
});
Expand All @@ -130,7 +131,7 @@ describe('hook error handling', function() {
it('should verify results', function() {
assert.deepEqual(
lines,
['test 1', 'test 2', 'after', 'test 3']
['test 1', 'test 2', 'after', bang + 'test 3']
);
});
});
Expand All @@ -140,7 +141,7 @@ describe('hook error handling', function() {
it('should verify results', function() {
assert.deepEqual(
lines,
['test 1', 'after', 'test 3']
['test 1', 'after', bang + 'test 3']
);
});
});
Expand All @@ -156,25 +157,25 @@ describe('hook error handling', function() {
'root before each',
'1 before each',
'1-1 before each',
'1-1 after each',
bang + '1-1 after each',
'1 after each',
'root after each',
'1-1 after',
'1-2 before',
bang + '1-2 before',
'root before each',
'1 before each',
'1-2 before each',
'1-2 test 1',
'1-2 after each',
'1 after each',
bang + '1 after each',
'root after each',
'1-2 after',
'1 after',
'2-1 before',
'root before each',
'2 before each',
'2 after each',
'root after each',
bang + '2 after each',
bang + 'root after each',
'2-1 after',
'2 after',
'root after'
Expand Down
3 changes: 2 additions & 1 deletion test/integration/retries.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var assert = require('assert');
var helpers = require('./helpers');
var args = [];
var bang = require('../../lib/reporters/base').symbols.bang;

describe('retries', function() {
this.timeout(2000);
Expand Down Expand Up @@ -33,7 +34,7 @@ describe('retries', function() {
'after each 4',
'before each 4',
'TEST 4',
'after each 5',
bang + 'after each 5',
'after'
];

Expand Down

0 comments on commit dedf03d

Please sign in to comment.