mirror of
https://github.com/gradle/actions.git
synced 2025-04-20 09:49:19 +08:00
fix ordering
This commit is contained in:
parent
f1ac6cbe32
commit
db9a5b527f
@ -1,10 +1,10 @@
|
||||
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 {CacheCleaner} from '../../src/caching/cache-cleaner'
|
||||
import {expect, test, jest} from '@jest/globals'
|
||||
import { expect, test, jest } from '@jest/globals'
|
||||
|
||||
import { CacheCleaner } from '../../src/caching/cache-cleaner'
|
||||
|
||||
jest.setTimeout(120000)
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
import * as path from 'path'
|
||||
import * as fs from 'fs'
|
||||
import {GradleUserHomeCache} from "../../src/caching/gradle-user-home-cache"
|
||||
import {CacheConfig} from "../../src/configuration"
|
||||
import {describe, expect} from '@jest/globals'
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
|
||||
import { GradleUserHomeCache } from "../../src/caching/gradle-user-home-cache"
|
||||
import { CacheConfig } from "../../src/configuration"
|
||||
|
||||
const testTmp = 'test/jest/tmp'
|
||||
fs.rmSync(testTmp, {recursive: true, force: true})
|
||||
|
@ -1,6 +1,6 @@
|
||||
import exp from 'constants'
|
||||
import {CacheEntryListener, CacheListener} from '../../src/caching/cache-reporting'
|
||||
import {describe, expect} from '@jest/globals'
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
|
||||
import { CacheEntryListener, CacheListener } from '../../src/caching/cache-reporting'
|
||||
|
||||
describe('caching report', () => {
|
||||
describe('reports not fully restored', () => {
|
||||
|
@ -1,5 +1,6 @@
|
||||
import {describe, expect, it} from '@jest/globals'
|
||||
|
||||
import * as cacheUtils from '../../src/caching/cache-utils'
|
||||
import {describe, expect} from '@jest/globals'
|
||||
|
||||
describe('cacheUtils-utils', () => {
|
||||
describe('can hash', () => {
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
|
||||
import * as inputParams from '../../src/configuration'
|
||||
import { describe, expect} from '@jest/globals'
|
||||
|
||||
describe('input params', () => {
|
||||
describe('parses numeric input', () => {
|
||||
|
@ -1,3 +1,5 @@
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
|
||||
import { DependencyGraphConfig } from "../../src/configuration"
|
||||
|
||||
describe('dependency-graph', () => {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { versionIsAtLeast, parseGradleVersionFromOutput } from '../../src/execution/gradle'
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
|
||||
import { describe, expect, it} from '@jest/globals'
|
||||
import { versionIsAtLeast, parseGradleVersionFromOutput } from '../../src/execution/gradle'
|
||||
|
||||
describe('gradle', () => {
|
||||
describe('can compare version with', () => {
|
||||
|
@ -1,8 +1,8 @@
|
||||
import dedent from 'dedent'
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
|
||||
import { BuildResult } from '../../src/build-results'
|
||||
import { renderSummaryTable } from '../../src/job-summary'
|
||||
import dedent from 'dedent'
|
||||
import { describe, expect, it} from '@jest/globals'
|
||||
|
||||
|
||||
const successfulHelpBuild: BuildResult = {
|
||||
rootProjectName: 'root',
|
||||
|
@ -1,6 +1,7 @@
|
||||
import {getPredefinedToolchains, mergeToolchainContent} from "../../src/caching/gradle-user-home-utils";
|
||||
import { afterAll, describe, expect, it, jest } from '@jest/globals'
|
||||
|
||||
import { getPredefinedToolchains, mergeToolchainContent } from "../../src/caching/gradle-user-home-utils";
|
||||
|
||||
describe('predefined-toolchains', () => {
|
||||
const OLD_ENV = process.env
|
||||
afterAll(() => {
|
||||
|
@ -1,7 +1,8 @@
|
||||
import {DevelocityAccessCredentials, getToken} from "../../src/develocity/short-lived-token";
|
||||
import nock from "nock";
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
|
||||
import { DevelocityAccessCredentials, getToken } from "../../src/develocity/short-lived-token";
|
||||
|
||||
describe('short lived tokens', () => {
|
||||
it('parse valid access key should return an object', async () => {
|
||||
let develocityAccessCredentials = DevelocityAccessCredentials.parse('some-host.local=key1;host2=key2');
|
||||
|
Loading…
x
Reference in New Issue
Block a user