]> git.ardis.lu - envpass/commitdiff
Enable concurrency where safe
authorArdis Lu <ardisglu@gmail.com>
Wed, 9 Sep 2026 04:18:56 +0000 (21:18 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 9 Sep 2026 04:18:56 +0000 (21:18 -0700)
test/cli.test.js
test/getPrf.test.js
test/index.test.js

index 0a201825c434e799a93d98cbcbffeca7729c865d..5874daa23611c7c1feb1107262b6460d21456d6a 100644 (file)
@@ -3,7 +3,7 @@ import { deepStrictEqual, ok } from 'node:assert/strict';
 
 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(' '));
index cda9b215605d4c01d030a35909cf05714d4b307c..10423f92170119584c6eb8b737b3888272686dbc 100644 (file)
@@ -190,7 +190,7 @@ suite('getPrf.js (server)', () => {
   });
 });
 
-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);
index 92c66d60db158d8108aaa09ea62432a8fc9596d6..208fc87c06d0530f307e4bb687a4544923857d03 100644 (file)
@@ -13,7 +13,7 @@ const ENCRYPTED_ENV = 'A=envpass:v1:AAA\nB=envpass:v1:BBB\nC=envpass:v1:CCC\n';
 /** 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);
@@ -40,7 +40,7 @@ suite('e2e', () => {
   });
 });
 
-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, '');
@@ -98,7 +98,7 @@ suite('encrypt', () => {
   });
 });
 
-suite('decrypt', () => {
+suite('decrypt', { concurrency: true }, () => {
   test('does nothing to empty .env file', async (t) => {
     await setupPlaywright(t);
     const envFile = await setupEnv(t, '');
This page took 0.047731 seconds and 4 git commands to generate.