lint fixes

This commit is contained in:
eggyhead
2024-01-31 16:51:04 +00:00
parent 3b02a6fdc5
commit d134334a38
4 changed files with 28 additions and 28 deletions

View File

@@ -3,8 +3,8 @@ import * as path from 'path'
import * as cacheUtils from '../src/internal/cacheUtils'
beforeEach(() => {
jest.resetModules()
});
jest.resetModules()
})
test('getArchiveFileSizeInBytes returns file size', () => {
const filePath = path.join(__dirname, '__fixtures__', 'helloWorld.txt')
@@ -61,4 +61,4 @@ test('isGhes returns true for enterprise URL', async () => {
test('isGhes returns false for ghe.localhost', () => {
process.env.GITHUB_SERVER_URL = 'https://my.domain.ghe.localhost'
expect(cacheUtils.isGhes()).toBe(false)
})
})