Skip to content

Commit 262a2a3

Browse files
authored
test: unset RUNLOOP_BASE_URL for client instantiation unit test (#685)
* unset RUNLOOP_BASE_URL for client instantiation unit test * more descriptive comment
1 parent 52a9275 commit 262a2a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ describe('instantiate client', () => {
193193
});
194194

195195
test('in request options', () => {
196+
process.env['RUNLOOP_BASE_URL'] = ''; // empty, so that the default base URL is used
196197
const client = new Runloop({ bearerToken: 'My Bearer Token' });
197198
expect(client.buildURL('/foo', null, 'http://localhost:5000/option')).toEqual(
198199
'http://localhost:5000/option/foo',

0 commit comments

Comments
 (0)