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
1 changed files with 2 additions and 3 deletions

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