fixed a couple test that aimed at 0.8
This commit is contained in:
@ -53,7 +53,7 @@ module.exports = function (makeLogger) {
|
||||
expect(function () {
|
||||
// call the event handler
|
||||
exitHandler.call(process);
|
||||
}).to.not.throw();
|
||||
}).to.not.throwError();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@ -85,7 +85,7 @@ describe('File Logger', function () {
|
||||
expect(function () {
|
||||
// call the event handler
|
||||
exitHandler.call(process);
|
||||
}).to.not.throw();
|
||||
}).to.not.throwError();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@ -78,7 +78,7 @@ describe('Host class', function () {
|
||||
});
|
||||
|
||||
it('will cause extra properties', function () {
|
||||
var host = new Host(url.parse('https://joe:diner@pizza.com:888/path?query=yes'));
|
||||
var host = new Host(url.parse('https://joe:diner@pizza.com:888/path?query=yes#section'));
|
||||
expect(host.protocol).to.eql('https');
|
||||
expect(host.host).to.eql('pizza.com');
|
||||
expect(host.port).to.eql(888);
|
||||
|
||||
@ -86,7 +86,7 @@ describe('Stream Logger', function () {
|
||||
expect(function () {
|
||||
// call the event handler
|
||||
exitHandler.call(process);
|
||||
}).to.not.throw();
|
||||
}).to.not.throwError();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user