fix(docker): eval snippet passed as positional arg in container-user tests

This commit is contained in:
CS committed 2026-07-28 11:21:58 -04:00
1 parent b3394a976e
commit 8f9b2d5da4
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ afterEach(() => {
})
const runScript = (snippet: string, env: Record<string, string> = {}) =>
spawnSync('bash', ['-c', 'set -e\nsource "$1"\n$2', '--', libPath, snippet], {
spawnSync('bash', ['-c', 'set -e\nsource "$1"\neval "$2"', '--', libPath, snippet], {
encoding: 'utf-8',
env: {
...process.env,