mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-16 16:55:45 +00:00
simplify imports
This commit is contained in:
parent
4bafe0b29f
commit
d0d1f7bdb4
13 changed files with 16 additions and 16 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { vi, describe, test, expect } from 'vitest';
|
||||
|
||||
vi.mock('@actions/core');
|
||||
import * as core from '@actions/core';
|
||||
import core from '@actions/core';
|
||||
|
||||
import got from 'got';
|
||||
import { when } from 'jest-when'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { vi, describe, test, expect } from 'vitest';
|
||||
|
||||
vi.mock('@actions/core');
|
||||
import * as core from '@actions/core';
|
||||
import core from '@actions/core';
|
||||
|
||||
import got from 'got';
|
||||
import { when } from 'jest-when'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { vi, describe, test, expect } from 'vitest';
|
||||
|
||||
vi.mock('@actions/core');
|
||||
import * as core from '@actions/core';
|
||||
import core from '@actions/core';
|
||||
import rsasign from 'jsrsasign';
|
||||
import {
|
||||
privateRsaKey,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { vi, describe, test, expect } from 'vitest';
|
||||
|
||||
vi.mock('@actions/core');
|
||||
import * as core from '@actions/core';
|
||||
import core from '@actions/core';
|
||||
|
||||
import got from 'got';
|
||||
import { when } from 'jest-when'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import got from 'got';
|
||||
import * as core from '@actions/core';
|
||||
import core from '@actions/core';
|
||||
|
||||
const vaultUrl = `${process.env.VAULT_HOST}:${process.env.VAULT_PORT}`;
|
||||
const caCertificateRaw = `${process.env.VAULTCA}`;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { vi, describe, test, expect } from 'vitest';
|
||||
|
||||
vi.mock('@actions/core');
|
||||
import * as core from '@actions/core';
|
||||
import core from '@actions/core';
|
||||
|
||||
import got from 'got';
|
||||
import { when } from 'jest-when'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue