Skip to content

Commit 9a151be

Browse files
committed
fix(test): move all test apps
1 parent 058c7b0 commit 9a151be

File tree

254 files changed

+273
-273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+273
-273
lines changed

apps/test/table/jest.config.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

apps/test/todos-list/jest.config.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.
File renamed without changes.

apps/test/checkbox/README.md renamed to apps/testing/checkbox/README.md

Lines changed: 1 addition & 1 deletion

apps/test/checkbox/jest.config.ts renamed to apps/testing/checkbox/jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* eslint-disable */
22
export default {
3-
displayName: 'test-checkbox',
3+
displayName: 'testing-checkbox',
44
preset: '../../../jest.preset.js',
55
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
6-
coverageDirectory: '../../../coverage/apps/test/checkbox',
6+
coverageDirectory: '../../../coverage/apps/testing/checkbox',
77
transform: {
88
'^.+\\.(ts|mjs|js|html)$': [
99
'jest-preset-angular',

apps/test/harness/project.json renamed to apps/testing/checkbox/project.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
2-
"name": "test-harness",
2+
"name": "testing-checkbox",
33
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
44
"projectType": "application",
55
"prefix": "app",
6-
"sourceRoot": "apps/test/harness/src",
6+
"sourceRoot": "apps/testing/checkbox/src",
77
"tags": [],
88
"targets": {
99
"build": {
1010
"executor": "@angular-devkit/build-angular:browser",
1111
"outputs": ["{options.outputPath}"],
1212
"options": {
13-
"outputPath": "dist/apps/test/harness",
14-
"index": "apps/test/harness/src/index.html",
15-
"main": "apps/test/harness/src/main.ts",
13+
"outputPath": "dist/apps/testing/checkbox",
14+
"index": "apps/testing/checkbox/src/index.html",
15+
"main": "apps/testing/checkbox/src/main.ts",
1616
"polyfills": ["zone.js"],
17-
"tsConfig": "apps/test/harness/tsconfig.app.json",
17+
"tsConfig": "apps/testing/checkbox/tsconfig.app.json",
1818
"assets": [
19-
"apps/test/harness/src/favicon.ico",
20-
"apps/test/harness/src/assets"
19+
"apps/testing/checkbox/src/favicon.ico",
20+
"apps/testing/checkbox/src/assets"
2121
],
22-
"styles": ["apps/test/harness/src/styles.scss"],
22+
"styles": ["apps/testing/checkbox/src/styles.scss"],
2323
"scripts": []
2424
},
2525
"configurations": {
@@ -53,25 +53,35 @@
5353
"executor": "@angular-devkit/build-angular:dev-server",
5454
"configurations": {
5555
"production": {
56-
"browserTarget": "test-harness:build:production"
56+
"browserTarget": "testing-checkbox:build:production"
5757
},
5858
"development": {
59-
"browserTarget": "test-harness:build:development"
59+
"browserTarget": "testing-checkbox:build:development"
6060
}
6161
},
6262
"defaultConfiguration": "development"
6363
},
6464
"extract-i18n": {
6565
"executor": "@angular-devkit/build-angular:extract-i18n",
6666
"options": {
67-
"browserTarget": "test-harness:build"
67+
"browserTarget": "testing-checkbox:build"
68+
}
69+
},
70+
"lint": {
71+
"executor": "@nx/linter:eslint",
72+
"outputs": ["{options.outputFile}"],
73+
"options": {
74+
"lintFilePatterns": [
75+
"apps/testing/checkbox/**/*.ts",
76+
"apps/testing/checkbox/**/*.html"
77+
]
6878
}
6979
},
7080
"test": {
7181
"executor": "@nx/jest:jest",
7282
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
7383
"options": {
74-
"jestConfig": "apps/test/harness/jest.config.ts",
84+
"jestConfig": "apps/testing/checkbox/jest.config.ts",
7585
"passWithNoTests": true
7686
},
7787
"configurations": {
@@ -80,16 +90,6 @@
8090
"codeCoverage": true
8191
}
8292
}
83-
},
84-
"lint": {
85-
"executor": "@nx/linter:eslint",
86-
"outputs": ["{options.outputFile}"],
87-
"options": {
88-
"lintFilePatterns": [
89-
"apps/test/harness/**/*.ts",
90-
"apps/test/harness/**/*.html"
91-
]
92-
}
9393
}
9494
}
9595
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)