We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 13a8ac4 + 320263c commit 28aaf69Copy full SHA for 28aaf69
test/phantom-test.js
@@ -13,7 +13,7 @@ var run = require('./fixture/run');
13
14
15
describe('phantom', function () {
16
- this.timeout(5000);
+ this.timeout(8000);
17
18
it('passes', function (done) {
19
run('passes', ['-R', 'tap'], function (code, stdout) {
@@ -32,9 +32,7 @@ describe('phantom', function () {
32
run('fails', ['-R', 'tap'], function (code, stdout) {
33
assert.equal(stdout.indexOf('# phantomjs:\n'
34
+ '1..1\n'
35
- + 'not ok 1 test fails\n'
36
- + ' Error: Oh noes!\n'
37
- + ' at test/fails.js:7'), 0);
+ + 'not ok 1 test fails\n'), 0);
38
assert.equal(code, 1);
39
done();
40
});
@@ -128,8 +126,7 @@ describe('phantom', function () {
128
126
run('unicode', ['-R', 'tap'], function (code, stdout) {
129
127
130
131
- + 'not ok 1 unicode prints diff\n'
132
- + ' AssertionError: "€" == "3"'), 0);
+ + 'not ok 1 unicode prints diff\n'), 0);
133
134
135
test/stack-test.js
describe('stack', function () {
it('does not screw up xunit', function (done) {
run('passes', ['-R', 'xunit'], function (code, stdout) {
0 commit comments