test: standardized jest unit testing (#10047)

This commit is contained in:
Nathan Walker
2022-11-28 14:30:32 -08:00
parent 66e8e39f1e
commit b147612e06
103 changed files with 1354 additions and 12804 deletions

View File

@@ -15,7 +15,13 @@
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "packages/core/jest.config.ts",
"passWithNoTests": true
"passWithNoTests": true,
"verbose": true
},
"configurations": {
"ci": {
"ci": true
}
},
"outputs": ["{workspaceRoot}/coverage/packages/core"]
},
@@ -33,22 +39,6 @@
"cwd": ".",
"parallel": false
}
},
"unit": {
"executor": "nx:run-commands",
"options": {
"commands": ["../../../node_modules/.bin/tsc -p tsconfig.json && ../../../node_modules/.bin/mocha --config=.mocharc.yml"],
"cwd": "packages/core/__tests__",
"parallel": false
}
},
"unit.watch": {
"executor": "nx:run-commands",
"options": {
"commands": ["../../../node_modules/.bin/tsc -p tsconfig.json && ../../../node_modules/.bin/mocha --watch --config=.mocharc.yml"],
"cwd": "packages/core/__tests__",
"parallel": false
}
}
}
}