mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
tweaked unit test
This commit is contained in:
parent
12bd4a4f13
commit
0c1694f6f7
1 changed files with 1 additions and 2 deletions
|
@ -95,7 +95,7 @@ describe('isGhes', () => {
|
|||
});
|
||||
|
||||
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(isGhes()).toBeFalsy();
|
||||
});
|
||||
|
||||
|
@ -119,4 +119,3 @@ describe('isGhes', () => {
|
|||
expect(isGhes()).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue