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.
1 parent c37699a commit 500cb87Copy full SHA for 500cb87
test/error.js
@@ -19,7 +19,7 @@ describe('OAuth2Error', function() {
19
it('should expose the `stack`', function () {
20
var error = new OAuth2Error('invalid_request', 'The access token was not found');
21
22
- error.stack.should.not.be.undefined;
+ error.stack.should.not.equal(undefined);
23
});
24
25
it('should expose a custom `name`', function () {
@@ -37,7 +37,7 @@ describe('OAuth2Error', function() {
37
it('should expose a status `code`', function () {
38
var error = new OAuth2Error('invalid_client');
39
40
- error.code.should.be.a.Number;
+ error.code.should.be.a('number');
41
42
43
it('should expose the `error`', function () {
0 commit comments