From a57fe98ca76fc30fe88255088d71f7ffafa93e21 Mon Sep 17 00:00:00 2001 From: Kelvin Jayanoris Date: Tue, 2 Feb 2021 19:48:38 +0300 Subject: [PATCH] Use node test env to get around jest Uin8Array/Buffer issue This is a work-around for the known jest bug. See: https://github.com/facebook/jest/issues/4422 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 50cbe93a..1a96e22c 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "fix:prettier": "prettier \"src/**/*.js\" --write", "start": "react-scripts start", "build": "react-scripts build", - "test": "react-scripts test", + "test": "react-scripts test --env=node", "eject": "react-scripts eject" }, "eslintConfig": {