From 4dc42446573ec11c9ffb92acb60478e092e3f9b3 Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Tue, 14 May 2024 02:44:28 -0400 Subject: [PATCH] [CONFIG] Node script to run test: jest command fixed. --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b510bdaf..7451bb50 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,10 @@ }, "scripts": { "lint": "npx eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'", - "test": "jest" + "jest": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug", + "jest:bruteforce": "BRUTEFORCE=true node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug", + "jest:watch": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll", + "test": "npm run jest", + "test:all": "npm run lint && npm run jest && echo 'Done.'" } }