mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-10 06:00:05 +00:00
Revert "update got dependency and convert to esm module (#533)"
This reverts commit 77efb36ae3.
This commit is contained in:
parent
ee41aa2fcf
commit
e64032b55d
39 changed files with 14350 additions and 12246 deletions
|
|
@ -1,5 +1,3 @@
|
|||
import { describe, test, expect } from 'vitest';
|
||||
|
||||
describe('e2e', () => {
|
||||
it('verify', () => {
|
||||
expect(process.env.SECRET).toBe("SUPERSECRET");
|
||||
|
|
|
|||
3
integrationTests/e2e/jest.config.js
Normal file
3
integrationTests/e2e/jest.config.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = {
|
||||
verbose: true
|
||||
};
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import got from 'got';
|
||||
const got = require('got');
|
||||
|
||||
const vaultUrl = `${process.env.VAULT_HOST}:${process.env.VAULT_PORT}`;
|
||||
const vaultToken = `${process.env.VAULT_TOKEN}` === undefined ? `${process.env.VAULT_TOKEN}` : "testtoken";
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
import { defineConfig, configDefaults } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
// required to make jest-when work with vitest
|
||||
globals: true,
|
||||
include: [
|
||||
'**/integrationTests/e2e/**.{test,spec}.?(c|m)[jt]s?(x)',
|
||||
],
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue