From 2ecdcc8763c1428daa6e1f3523929cc194aac422 Mon Sep 17 00:00:00 2001 From: Ryan Wilcox Date: Fri, 1 Jan 2021 10:35:13 -0500 Subject: [PATCH] debug command, also specify exactly how to run node per https://github.com/facebook/jest/issues/10577 as we use circular references --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b34837..32b7033 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "scripts": { "start": "react-scripts --max_old_space_size=4096 start", "build": "react-scripts build", - "test": "jest --no-color", + "test": "node --unhandled-rejections=strict node_modules/.bin/jest --no-color --runInBand", + "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand", "eject": "react-scripts eject", "flow": "flow" },