import { makeProgram } from '#src/cli.js';
-suite('cli', () => {
+suite('cli', { concurrency: true }, () => {
test('envpass encrypt works', (t) => {
const program = makeProgram(t.mock.fn(), t.mock.fn());
program.parse('node envpass encrypt'.split(' '));
});
});
-suite('getPrf.html (client)', () => {
+suite('getPrf.html (client)', { concurrency: true }, () => {
test('basic page and styles are present', async (t) => {
const { setAutomaticSignIn, page } = await setupPlaywright(t);
const { url } = await setupServer(t);
/** Single .env value for injection tests. */
const INJECTED_ENV = 'INJECTION_TEST=INJECTED';
-suite('e2e', () => {
+suite('e2e', { concurrency: true }, () => {
test('encrypt and decrypt .env', async (t) => {
const { page } = await setupPlaywright(t);
const envFile = await setupEnv(t, STD_ENV);
});
});
-suite('encrypt', () => {
+suite('encrypt', { concurrency: true }, () => {
test('does nothing to empty .env file', async (t) => {
const { page } = await setupPlaywright(t);
const envFile = await setupEnv(t, '');
});
});
-suite('decrypt', () => {
+suite('decrypt', { concurrency: true }, () => {
test('does nothing to empty .env file', async (t) => {
await setupPlaywright(t);
const envFile = await setupEnv(t, '');