Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Jul 9, 2019
1 parent f9cda63 commit 722fc06
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
"@commitlint/config-conventional": "^8.0.0",
"chai": "^4.2.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.1",
"husky": "^2.4.1",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-plugin-import": "^2.18.0",
"husky": "^2.7.0",
"mocha": "^6.1.3",
"nock": "^11.0.0-beta.20",
"nock": "^11.0.0-beta.23",
"nyc": "^14.1.0",
"readable-mock-req": "^0.2.2",
"sinon": "^7.3.1",
Expand Down
4 changes: 2 additions & 2 deletions test/client/client_instance.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ describe('Client', () => {
return client.userinfo()
.then(fail, function (error) {
expect(error.name).to.eql('ParseError');
expect(error.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com:443/me": \n{"notavalid"}...');
expect(error.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com/me": \n{"notavalid"}...');
expect(error).to.have.property('response');
});
});
Expand Down Expand Up @@ -1163,7 +1163,7 @@ describe('Client', () => {
return client.introspect('tokenValue')
.then(fail, function (error) {
expect(error.name).to.eql('ParseError');
expect(error.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com:443/token/introspect": \n{"notavalid"}...');
expect(error.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com/token/introspect": \n{"notavalid"}...');
expect(error).to.have.property('response');
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/client/discover_client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('Client#fromUri()', () => {
return issuer.Client.fromUri('https://op.example.com/client/identifier')
.then(fail, function (error) {
expect(error.name).to.eql('ParseError');
expect(error.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com:443/client/identifier": \n{"notavalid"}...');
expect(error.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com/client/identifier": \n{"notavalid"}...');
expect(error).to.have.property('response');
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/client/register_client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('Client#register', () => {
return issuer.Client.register({})
.then(fail, function (error) {
expect(error.name).to.eql('ParseError');
expect(error.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com:443/client/registration": \n{"notavalid"}...');
expect(error.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com/client/registration": \n{"notavalid"}...');
expect(error).to.have.property('response');
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/issuer/discover_issuer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ describe('Issuer#discover()', () => {
expect([...error].some((err) => {
try {
expect(err.name).to.eql('ParseError');
expect(err.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com:443/.well-known/openid-configuration": \n{"notavalid"}...');
expect(err.message).to.eql('Unexpected token } in JSON at position 12 in "https://op.example.com/.well-known/openid-configuration": \n{"notavalid"}...');
expect(err).to.have.property('response');
return true;
} catch (e) {
Expand Down

0 comments on commit 722fc06

Please sign in to comment.