From e224437446ccb503992053146b5fe3a6666b2d27 Mon Sep 17 00:00:00 2001 From: Florin Dzeladini Date: Thu, 5 Dec 2024 13:08:30 +0100 Subject: [PATCH] chore: reduced coverage on old test to 50% --- packages/starknet-snap/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/starknet-snap/package.json b/packages/starknet-snap/package.json index 5ebff7bb..bab17df1 100644 --- a/packages/starknet-snap/package.json +++ b/packages/starknet-snap/package.json @@ -28,8 +28,8 @@ "serve": "mm-snap serve", "start": "mm-snap watch", "test": "yarn run test:unit && yarn run cover:report && yarn run jest", - "test:unit": "nyc --check-coverage --statements 50 --branches 50 --functions 50 --lines 50 mocha --colors -r ts-node/register --require test/global.ts \"test/**/*.test.ts\"", - "test:unit:one": "nyc --check-coverage --statements 50 --branches 50 --functions 50 --lines 50 mocha --colors -r ts-node/register --require test/global.ts" + "test:unit": "nyc --check-coverage --statements 40 --branches 40 --functions 40 --lines 40 mocha --colors -r ts-node/register --require test/global.ts \"test/**/*.test.ts\"", + "test:unit:one": "nyc --check-coverage --statements 40 --branches 40 --functions 40 --lines 40 mocha --colors -r ts-node/register --require test/global.ts" }, "nyc": { "exclude": [