From 0456d6d0322f61ec447740b347a852c370f1da8f Mon Sep 17 00:00:00 2001 From: Salvatore Ingala <6681844+bigspider@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:00:35 +0000 Subject: [PATCH] Fixes for JS tests in CI --- .github/workflows/ci-workflow.yml | 2 +- bitcoin_client_js/src/__tests__/appClient.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 9b22b52e5..c7c7c6b26 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -265,7 +265,7 @@ jobs: run: | cd bitcoin_client_js yarn install - LOG_SPECULOS=1 LOG_APDUS=1 SPECULOS="/speculos/speculos.py" yarn test + LOG_SPECULOS=1 LOG_APDUS=1 yarn test job_test_rust_client: diff --git a/bitcoin_client_js/src/__tests__/appClient.test.ts b/bitcoin_client_js/src/__tests__/appClient.test.ts index faff946c9..e8187618d 100644 --- a/bitcoin_client_js/src/__tests__/appClient.test.ts +++ b/bitcoin_client_js/src/__tests__/appClient.test.ts @@ -29,7 +29,7 @@ process and all the APDUs exchanged during the tests. const repoRootPath = path.resolve(process.cwd(), '..') -const speculos_path = process.env.SPECULOS || "speculos.py"; +const speculos_path = process.env.SPECULOS || "speculos"; function sleep(ms: number): Promise { return new Promise((resolve) => {