Commit 8c3e41f2 authored by Kevin Brightwell's avatar Kevin Brightwell Committed by Daz DeBoer
Browse files

chore: Clean-up missing imports for tests (#505)

Noticed had missing imports in tests, this adds them and orders imports consistently. Not sure why eslint missed this.
parent 8646c701
Loading
Loading
Loading
Loading
+2 −1
Changes for sources/test/jest/cache-cleanup.test.ts: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
import * as exec from '@actions/exec'
import * as core from '@actions/core'
import * as glob from '@actions/glob'
import fs from 'fs'
import path from 'path'
import {expect, test, jest} from '@jest/globals'

import {CacheCleaner} from '../../src/caching/cache-cleaner'

jest.setTimeout(120000)
+2
Changes for sources/test/jest/cache-debug.test.ts: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
import * as path from 'path'
import * as fs from 'fs'
import {describe, expect, it} from '@jest/globals'

import {GradleUserHomeCache} from "../../src/caching/gradle-user-home-cache"
import {CacheConfig} from "../../src/configuration"

+2 −1
Changes for sources/test/jest/cache-reporting.test.ts: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
import exp from 'constants'
import {describe, expect, it} from '@jest/globals'

import {CacheEntryListener, CacheListener} from '../../src/caching/cache-reporting'

describe('caching report', () => {
+2
Changes for sources/test/jest/cache-utils.test.ts: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
import {describe, expect, it} from '@jest/globals'

import * as cacheUtils from '../../src/caching/cache-utils'

describe('cacheUtils-utils', () => {
+2
Changes for sources/test/jest/configuration.test.ts: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
import {describe, expect, it} from '@jest/globals'

import * as inputParams from '../../src/configuration'

describe('input params', () => {
Loading