Revert "update got dependency and convert to esm module (#533)"

This reverts commit 77efb36ae3.
This commit is contained in:
JM Faircloth 2024-04-15 14:55:47 -05:00
parent ee41aa2fcf
commit e64032b55d
39 changed files with 14350 additions and 12246 deletions

View file

@ -1,5 +1,3 @@
import { describe, test, expect } from 'vitest';
describe('e2e-tls', () => {
it('verify', () => {
expect(process.env.SECRET).toBe("SUPERSECRET");

View file

@ -0,0 +1,3 @@
module.exports = {
verbose: true
};

View file

@ -1,5 +1,5 @@
import got from 'got';
import core from '@actions/core';
const got = require('got');
const core = require('@actions/core');
const vaultUrl = `${process.env.VAULT_HOST}:${process.env.VAULT_PORT}`;
const caCertificateRaw = `${process.env.VAULTCA}`;

View file

@ -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-tls/**.{test,spec}.?(c|m)[jt]s?(x)',
],
},
})