From 441f3d8e7ddc21cf3fe72c1fd838d7e5702fb996 Mon Sep 17 00:00:00 2001 From: Pavel Kityan Date: Fri, 26 Jul 2024 16:45:27 +0300 Subject: [PATCH] --openssl-legacy-provider and update command --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c753d36..6b05f16 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,10 @@ "prettier": "prettier --check \"./**/*.{ts,tsx,js,json,html,css,md}\"", "prettier:write": "prettier --write \"./**/*.{ts,tsx,js,json,html,css,md}\"", "lint": "tslint -p tsconfig.json 'src/**/*.ts' 'demo/**/*.ts'", - "test:screenshots": "webpack --test && TEST_SUITE=screenshots jest --forceExit --projects test/screenshots --colors", - "test:screenshots:watch": "webpack --test && TEST_SUITE=screenshots jest --forceExit --watchAll --projects test/screenshots --colors", - "test:screenshots:no-headless": "webpack --test && NO_HEADLESS=true TEST_SUITE=screenshots jest --forceExit --projects test/screenshots --colors" + "test:screenshots": "NODE_OPTIONS=--openssl-legacy-provider webpack --test && TEST_SUITE=screenshots jest --forceExit --projects test/screenshots --colors", + "test:screenshots:update": "NODE_OPTIONS=--openssl-legacy-provider webpack --test && TEST_SUITE=screenshots jest --forceExit --projects test/screenshots --colors -u", + "test:screenshots:watch": "NODE_OPTIONS=--openssl-legacy-provider webpack --test && TEST_SUITE=screenshots jest --forceExit --watchAll --projects test/screenshots --colors", + "test:screenshots:no-headless": "NODE_OPTIONS=--openssl-legacy-provider webpack --test && NO_HEADLESS=true TEST_SUITE=screenshots jest --forceExit --projects test/screenshots --colors" }, "license": "BSD-2-Clause", "files": [