From 95ac51a7328abc2b4dbe98d36cf73712b33f5a23 Mon Sep 17 00:00:00 2001 From: Sean Crowe <49288508+seancrowe@users.noreply.github.com> Date: Mon, 11 Sep 2023 12:10:36 -0500 Subject: [PATCH] Fix test script bug due to missing directory (#50) --- test/run_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_tests.js b/test/run_tests.js index 496344b..fc45c2e 100644 --- a/test/run_tests.js +++ b/test/run_tests.js @@ -33,7 +33,7 @@ async function main() { const copyPISuccess = await new Promise((res) => { exec( - "cp ./dist/PublisherInterface.min.js ./test/dist/PublisherInterface.min.js", + "mkdir -p ./test/dist && cp ./dist/PublisherInterface.min.js ./test/dist/PublisherInterface.min.js", (error, stdout, stderr) => { if (error) { res([false, error]);