mirror of
https://code.forgejo.org/actions/setup-go
synced 2025-06-21 09:28:00 +02:00
tweaked unit test
This commit is contained in:
parent
6e39d7dc36
commit
1b4432d713
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ describe('isGhes', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('returns false when the GITHUB_SERVER_URL environment variable is not defined', async () => {
|
it('returns false when the GITHUB_SERVER_URL environment variable is not defined', async () => {
|
||||||
process.env['GITHUB_SERVER_URL'] = undefined;
|
delete process.env['GITHUB_SERVER_URL'];
|
||||||
expect(cacheUtils.isGhes()).toBeFalsy();
|
expect(cacheUtils.isGhes()).toBeFalsy();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue