From 578f92e376ff897abdaa8d7d09360b317bf44d84 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Sat, 1 Jul 2023 16:54:21 +0800 Subject: [PATCH] build: update nx.json --- nx.json | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/nx.json b/nx.json index 1ef1cbb6f2..89c86b472e 100644 --- a/nx.json +++ b/nx.json @@ -107,6 +107,9 @@ "test": { "outputs": ["{workspaceRoot}/.nyc_output"], "inputs": [ + { + "env": "NATIVE_TEST" + }, { "env": "ENABLE_PRELOADING" }, @@ -118,6 +121,9 @@ "test:ui": { "outputs": ["{workspaceRoot}/.nyc_output"], "inputs": [ + { + "env": "NATIVE_TEST" + }, { "env": "ENABLE_PRELOADING" }, @@ -129,20 +135,13 @@ "test:coverage": { "outputs": ["{workspaceRoot}/.nyc_output"], "inputs": [ + { + "env": "NATIVE_TEST" + }, { "env": "ENABLE_PRELOADING" } ] } - }, - "generators": { - "@nx/react": { - "application": { - "babel": true - }, - "library": { - "unitTestRunner": "jest" - } - } } }