diff --git a/modules/sdk-core/.mocharc.js b/modules/sdk-core/.mocharc.js index 2a36945feb..7337e3604b 100644 --- a/modules/sdk-core/.mocharc.js +++ b/modules/sdk-core/.mocharc.js @@ -6,5 +6,5 @@ module.exports = { reporter: 'min', 'reporter-option': ['cdn=true', 'json=false'], exit: true, - spec: ['test/unit/*.ts'], + extension: ['.js', '.ts'], }; diff --git a/modules/sdk-core/package.json b/modules/sdk-core/package.json index 9a05a9aee4..2cdaaa06b6 100644 --- a/modules/sdk-core/package.json +++ b/modules/sdk-core/package.json @@ -6,7 +6,7 @@ "types": "./dist/src/index.d.ts", "scripts": { "test": "yarn unit-test", - "unit-test": "nyc -- mocha", + "unit-test": "nyc -- mocha --recursive test", "build": "yarn tsc --build --incremental --verbose .", "fmt": "prettier --write .", "check-fmt": "prettier --check .",