fix(all): package.json test scripts
MODIFY
package.json
package.json
"pretest": "yarn lint",
"link:all": "lerna exec -- yarn link",
"unlink:all": "lerna exec -- yarn unlink",
- "test": "sleep 5s && yarn test:unit && yarn test:integration",
- "test:unit": "SCOPE=unit ./scripts/run-tests.sh",
- "test:watch": "SCOPE=watch ./scripts/run-tests.sh",
- "test:integration": "SCOPE=integration ./scripts/run-tests.sh",
+ "test": "yarn test:unit && yarn test:integration",
+ "test:unit": "SCOPE=unit jest --expand --coverage --detectOpenHandles",
+ "test:integration": "SCOPE=integration jest --expand --detectOpenHandles",
+ "test:watch": "jest --expand --onlyChanged --watch",
"clean": "lerna run clean",
"purge": "yarn clean && rimraf node_modules",
"prepublishOnly": "yarn clean && yarn build && yarn test",

fix(all): package.json test scripts