We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c14d935 commit eadaa03Copy full SHA for eadaa03
1 file changed
test/oauth.js
@@ -2235,6 +2235,12 @@ describe('Bell', () => {
2235
expect(OAuth.Client.baseUri('http://example.com:8080/x')).to.equal('http://example.com:8080/x');
2236
expect(OAuth.Client.baseUri('https://example.com:8080/x')).to.equal('https://example.com:8080/x');
2237
});
2238
+
2239
+ it('passes through without port', () => {
2240
2241
+ expect(OAuth.Client.baseUri('http://example.com/x')).to.equal('http://example.com/x');
2242
+ expect(OAuth.Client.baseUri('https://example.com/x')).to.equal('https://example.com/x');
2243
+ });
2244
2245
2246
describe('signature()', () => {
0 commit comments