From 3a7f0326d105a956597f66d2742c7c8a670ce9a7 Mon Sep 17 00:00:00 2001 From: Otto Allmendinger Date: Tue, 24 Sep 2024 13:55:19 +0200 Subject: [PATCH] fix: move spec to unit-test scripto Otherwise it is impossible to run single test files from IntelliJ Issue: BTC-1351 TICKET: BTC-1351 --- modules/sdk-api/.mocharc.js | 1 - modules/sdk-api/package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/sdk-api/.mocharc.js b/modules/sdk-api/.mocharc.js index ae5ec5d5c8..63e14f5541 100644 --- a/modules/sdk-api/.mocharc.js +++ b/modules/sdk-api/.mocharc.js @@ -6,5 +6,4 @@ module.exports = { reporter: 'min', 'reporter-option': ['cdn=true', 'json=false'], exit: true, - spec: ['test/unit/**/*.ts'], }; diff --git a/modules/sdk-api/package.json b/modules/sdk-api/package.json index 4df9997da7..a7ab857988 100644 --- a/modules/sdk-api/package.json +++ b/modules/sdk-api/package.json @@ -16,7 +16,7 @@ "prepare": "npm run build", "test": "npm run coverage", "coverage": "nyc -- npm run unit-test", - "unit-test": "mocha" + "unit-test": "mocha 'test/unit/**/*.ts'" }, "author": "BitGo SDK Team ", "license": "MIT",