Revert "Temporary skip unit tests to check e2es"

This reverts commit a0adc7e58a001a54442c82952761bff891caa5cd.
This commit is contained in:
eromano
2023-07-31 17:44:49 +02:00
parent d0ddf25864
commit 217b6634ba
2 changed files with 33 additions and 30 deletions

View File

@@ -275,12 +275,15 @@
"defaultConfiguration": "production" "defaultConfiguration": "production"
}, },
"test": { "test": {
"executor": "nx:run-commands", "builder": "@angular-devkit/build-angular:karma",
"options": { "options": {
"commands": [ "main": "lib/core/test.ts",
{ "tsConfig": "lib/core/tsconfig.spec.json",
"command": "echo temporary skip unit tests to check e2es" "karmaConfig": "lib/core/karma.conf.js",
} "sourceMap": true,
"codeCoverage": true,
"styles": [
"demo-shell/src/styles.scss"
] ]
} }
}, },
@@ -421,13 +424,13 @@
"defaultConfiguration": "production" "defaultConfiguration": "production"
}, },
"test": { "test": {
"executor": "nx:run-commands", "builder": "@angular-devkit/build-angular:karma",
"options": { "options": {
"commands": [ "main": "lib/content-services/src/test.ts",
{ "tsConfig": "lib/content-services/tsconfig.spec.json",
"command": "echo temporary skip unit tests to check e2es" "karmaConfig": "lib/content-services/karma.conf.js",
} "sourceMap": true,
] "codeCoverage": true
} }
}, },
"lint": { "lint": {
@@ -539,13 +542,13 @@
"defaultConfiguration": "production" "defaultConfiguration": "production"
}, },
"test": { "test": {
"executor": "nx:run-commands", "builder": "@angular-devkit/build-angular:karma",
"options": { "options": {
"commands": [ "main": "lib/process-services/src/test.ts",
{ "tsConfig": "lib/process-services/tsconfig.spec.json",
"command": "echo temporary skip unit tests to check e2es" "karmaConfig": "lib/process-services/karma.conf.js",
} "sourceMap": true,
] "codeCoverage": true
} }
}, },
"lint": { "lint": {
@@ -625,13 +628,13 @@
"defaultConfiguration": "production" "defaultConfiguration": "production"
}, },
"test": { "test": {
"executor": "nx:run-commands", "builder": "@angular-devkit/build-angular:karma",
"options": { "options": {
"commands": [ "main": "lib/process-services-cloud/src/test.ts",
{ "tsConfig": "lib/process-services-cloud/tsconfig.spec.json",
"command": "echo temporary skip unit tests to check e2es" "karmaConfig": "lib/process-services-cloud/karma.conf.js",
} "sourceMap": true,
] "codeCoverage": true
} }
}, },
"lint": { "lint": {
@@ -754,13 +757,13 @@
"defaultConfiguration": "production" "defaultConfiguration": "production"
}, },
"test": { "test": {
"executor": "nx:run-commands", "builder": "@angular-devkit/build-angular:karma",
"options": { "options": {
"commands": [ "main": "lib/insights/src/test.ts",
{ "tsConfig": "lib/insights/tsconfig.spec.json",
"command": "echo temporary skip unit tests to check e2es" "karmaConfig": "lib/insights/karma.conf.js",
} "sourceMap": true,
] "codeCoverage": true
} }
}, },
"lint": { "lint": {

View File

@@ -80,7 +80,7 @@ export class UploadActions {
async deleteFileOrFolder(nodeId: string) { async deleteFileOrFolder(nodeId: string) {
const apiCall = async () => { const apiCall = async () => {
try { try {
Logger.error(`Deleting ${nodeId}`); Logger.info(`Deleting ${nodeId}`);
return this.nodesApi.deleteNode(nodeId, { permanent: true }); return this.nodesApi.deleteNode(nodeId, { permanent: true });
} catch (error) { } catch (error) {
Logger.error('Error delete file or folder'); Logger.error('Error delete file or folder');