mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
Revert "Temporary skip unit tests to check e2es"
This reverts commit a0adc7e58a001a54442c82952761bff891caa5cd.
This commit is contained in:
61
angular.json
61
angular.json
@@ -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": {
|
||||||
|
@@ -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');
|
||||||
|
Reference in New Issue
Block a user