refactor(electron): fix vitest and add behavior test (#4655)

This commit is contained in:
Alex Yang
2023-10-18 22:14:30 -05:00
committed by GitHub
parent b14a6bc29e
commit 97d8660a54
35 changed files with 256 additions and 349 deletions

13
nx.json
View File

@@ -35,8 +35,8 @@
"{projectRoot}/storybook-static"
],
"inputs": [
"{workspaceRoot}/infra/**/*",
"{workspaceRoot}/sdk/**/*",
"{workspaceRoot}/packages/frontend/infra/**/*",
"{workspaceRoot}/packages/frontend/sdk/**/*",
{
"runtime": "node -v"
},
@@ -80,9 +80,6 @@
"test": {
"outputs": ["{workspaceRoot}/.nyc_output"],
"inputs": [
{
"env": "NATIVE_TEST"
},
{
"env": "ENABLE_PRELOADING"
},
@@ -94,9 +91,6 @@
"test:ui": {
"outputs": ["{workspaceRoot}/.nyc_output"],
"inputs": [
{
"env": "NATIVE_TEST"
},
{
"env": "ENABLE_PRELOADING"
},
@@ -108,9 +102,6 @@
"test:coverage": {
"outputs": ["{workspaceRoot}/.nyc_output"],
"inputs": [
{
"env": "NATIVE_TEST"
},
{
"env": "ENABLE_PRELOADING"
}