1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2025-06-08 06:27:00 +09:00

ran npm run format

This commit is contained in:
John Wesley Walker III 2024-10-18 17:35:55 +00:00
parent 1d333e3853
commit 5acab22d9a

View file

@ -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'];