mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[AAE-12501] Fix Core secondary entrypoints unit tests are not executed: move test.ts one level up in order to find all the spec files into the secondary entrypoints folders and update path
This commit is contained in:
+2
-2
@@ -309,7 +309,7 @@
|
||||
"core": {
|
||||
"projectType": "library",
|
||||
"root": "lib/core",
|
||||
"sourceRoot": "lib/core/src",
|
||||
"sourceRoot": "lib/core",
|
||||
"prefix": "adf",
|
||||
"architect": {
|
||||
"build": {
|
||||
@@ -333,7 +333,7 @@
|
||||
"test": {
|
||||
"builder": "@angular-devkit/build-angular:karma",
|
||||
"options": {
|
||||
"main": "lib/core/src/test.ts",
|
||||
"main": "lib/core/test.ts",
|
||||
"tsConfig": "lib/core/tsconfig.spec.json",
|
||||
"karmaConfig": "lib/core/karma.conf.js",
|
||||
"sourceMap": true,
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
|
||||
}
|
||||
},
|
||||
"exclude": ["src/test.ts", "**/*.spec.ts", "**/*.test.ts"],
|
||||
"exclude": ["./test.ts", "**/*.spec.ts", "**/*.test.ts"],
|
||||
"include": ["**/*.ts"]
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/out-tsc"
|
||||
},
|
||||
"files": ["src/test.ts"],
|
||||
"files": ["./test.ts"],
|
||||
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user