[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:
Amedeo Lepore
2023-03-31 12:12:03 +02:00
parent f3c3df837a
commit a4a07c7967
4 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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,
+1 -1
View File
@@ -12,6 +12,6 @@
}
},
"exclude": ["src/test.ts", "**/*.spec.ts", "**/*.test.ts"],
"exclude": ["./test.ts", "**/*.spec.ts", "**/*.test.ts"],
"include": ["**/*.ts"]
}
+1 -1
View File
@@ -3,6 +3,6 @@
"compilerOptions": {
"outDir": "../../dist/out-tsc"
},
"files": ["src/test.ts"],
"files": ["./test.ts"],
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts"]
}