Skip to content

Commit 120e137

Browse files
committed
Expect zero errors in tests
1 parent 78c782b commit 120e137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/specs-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('Example WebPageTest for Specs', function() {
3535
specs: '{"defaults":{"suiteName":"WPT test of test (not really an error)"},"median":{"firstView":{"render":800,"TTFB":600,"loadTime":4000}}}',
3636
reporter: 'min'
3737
}, function(err) {
38-
assert.equal(err, 2);
38+
assert.equal(err, 0);
3939
done();
4040
});
4141
setTimeout(function() {
@@ -49,7 +49,7 @@ describe('Example WebPageTest for Specs', function() {
4949
specs: path.join(__dirname, './fixtures/specs.json'),
5050
reporter: 'spec'
5151
}, function(err) {
52-
assert.equal(err, 1);
52+
assert.equal(err, 0);
5353
done();
5454
});
5555
});

0 commit comments

Comments
 (0)