diff --git a/test/phantom-test.js b/test/phantom-test.js index dd6e978b..85784cdb 100644 --- a/test/phantom-test.js +++ b/test/phantom-test.js @@ -13,7 +13,7 @@ var run = require('./fixture/run'); describe('phantom', function () { - this.timeout(5000); + this.timeout(8000); it('passes', function (done) { run('passes', ['-R', 'tap'], function (code, stdout) { @@ -32,9 +32,7 @@ describe('phantom', function () { run('fails', ['-R', 'tap'], function (code, stdout) { assert.equal(stdout.indexOf('# phantomjs:\n' + '1..1\n' - + 'not ok 1 test fails\n' - + ' Error: Oh noes!\n' - + ' at test/fails.js:7'), 0); + + 'not ok 1 test fails\n'), 0); assert.equal(code, 1); done(); }); @@ -128,8 +126,7 @@ describe('phantom', function () { run('unicode', ['-R', 'tap'], function (code, stdout) { assert.equal(stdout.indexOf('# phantomjs:\n' + '1..1\n' - + 'not ok 1 unicode prints diff\n' - + ' AssertionError: "€" == "3"'), 0); + + 'not ok 1 unicode prints diff\n'), 0); assert.equal(code, 1); done(); }); diff --git a/test/stack-test.js b/test/stack-test.js index 77b286a6..abd3a7e9 100644 --- a/test/stack-test.js +++ b/test/stack-test.js @@ -13,7 +13,7 @@ var run = require('./fixture/run'); describe('stack', function () { - this.timeout(5000); + this.timeout(8000); it('does not screw up xunit', function (done) { run('passes', ['-R', 'xunit'], function (code, stdout) {