From 95f8872794a146f3176c64b6fa17d669553dcc85 Mon Sep 17 00:00:00 2001 From: Lydia Garms Date: Thu, 18 Dec 2025 18:49:56 +0000 Subject: [PATCH] test runner fix --- apitest.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apitest.js b/apitest.js index 219a0f2b..33f40c45 100644 --- a/apitest.js +++ b/apitest.js @@ -125,6 +125,7 @@ const callZAppAPIs = async (zappName, apiRequests, preHook, cnstrctrInputs) => { } // Clean up and re-throw shell.exec('docker compose -f docker-compose.zapp.yml down -v'); + shell.exec('rm -rf node_modules', { silent: true }); shell.cd('../..'); throw error; } @@ -146,6 +147,7 @@ const callZAppAPIs = async (zappName, apiRequests, preHook, cnstrctrInputs) => { shell.echo('docker stop failed'); shell.exit(1); } + shell.exec('rm -rf node_modules', { silent: true }); shell.cd('../..'); await new Promise(resolve => { setTimeout(resolve, 5000);