mirror of https://github.com/actions/setup-python
ran `npm run format`
This commit is contained in:
parent
1d333e3853
commit
5acab22d9a
|
@ -197,18 +197,17 @@ describe('getDownloadFileName', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
describe('isGhes', () => {
|
describe('isGhes', () => {
|
||||||
const pristineEnv = process.env;
|
const pristineEnv = process.env;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
jest.resetModules();
|
jest.resetModules();
|
||||||
process.env = { ...pristineEnv };
|
process.env = {...pristineEnv};
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(() => {
|
afterAll(() => {
|
||||||
process.env = pristineEnv;
|
process.env = pristineEnv;
|
||||||
});
|
});
|
||||||
|
|
||||||
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 () => {
|
||||||
delete process.env['GITHUB_SERVER_URL'];
|
delete process.env['GITHUB_SERVER_URL'];
|
||||||
|
|
Loading…
Reference in New Issue