Skip to content

Commit eadaa03

Browse files
Fix missing coverage
1 parent c14d935 commit eadaa03

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/oauth.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,6 +2235,12 @@ describe('Bell', () => {
22352235
expect(OAuth.Client.baseUri('http://example.com:8080/x')).to.equal('http://example.com:8080/x');
22362236
expect(OAuth.Client.baseUri('https://example.com:8080/x')).to.equal('https://example.com:8080/x');
22372237
});
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+
});
22382244
});
22392245

22402246
describe('signature()', () => {

0 commit comments

Comments
 (0)