Skip to content

Commit 612e17e

Browse files
committed
test: update e2e test assets from Angular 18.0 to 19.0
Version 18 is no longer supported. (cherry picked from commit de35632)
1 parent 4b8b7ca commit 612e17e

22 files changed

+116
-92
lines changed

tests/legacy-cli/e2e/assets/18.0-project/README.md

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

tests/legacy-cli/e2e/assets/18.0-project/package.json

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

tests/legacy-cli/e2e/assets/18.0-project/.editorconfig renamed to tests/legacy-cli/e2e/assets/19.0-project/.editorconfig

File renamed without changes.
File renamed without changes.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# NineteenProject
2+
3+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.2.13.
4+
5+
## Development server
6+
7+
To start a local development server, run:
8+
9+
```bash
10+
ng serve
11+
```
12+
13+
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
14+
15+
## Code scaffolding
16+
17+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
18+
19+
```bash
20+
ng generate component component-name
21+
```
22+
23+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
24+
25+
```bash
26+
ng generate --help
27+
```
28+
29+
## Building
30+
31+
To build the project run:
32+
33+
```bash
34+
ng build
35+
```
36+
37+
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
38+
39+
## Running unit tests
40+
41+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
42+
43+
```bash
44+
ng test
45+
```
46+
47+
## Running end-to-end tests
48+
49+
For end-to-end (e2e) testing, run:
50+
51+
```bash
52+
ng e2e
53+
```
54+
55+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
56+
57+
## Additional Resources
58+
59+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.

tests/legacy-cli/e2e/assets/18.0-project/angular.json renamed to tests/legacy-cli/e2e/assets/19.0-project/angular.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"eighteen-project": {
6+
"nineteen-project": {
77
"projectType": "application",
88
"schematics": {},
99
"root": "",
@@ -13,7 +13,7 @@
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:application",
1515
"options": {
16-
"outputPath": "dist/eighteen-project",
16+
"outputPath": "dist/nineteen-project",
1717
"index": "src/index.html",
1818
"browser": "src/main.ts",
1919
"polyfills": [
@@ -41,8 +41,8 @@
4141
},
4242
{
4343
"type": "anyComponentStyle",
44-
"maximumWarning": "2kB",
45-
"maximumError": "4kB"
44+
"maximumWarning": "4kB",
45+
"maximumError": "8kB"
4646
}
4747
],
4848
"outputHashing": "all"
@@ -59,10 +59,10 @@
5959
"builder": "@angular-devkit/build-angular:dev-server",
6060
"configurations": {
6161
"production": {
62-
"buildTarget": "eighteen-project:build:production"
62+
"buildTarget": "nineteen-project:build:production"
6363
},
6464
"development": {
65-
"buildTarget": "eighteen-project:build:development"
65+
"buildTarget": "nineteen-project:build:development"
6666
}
6767
},
6868
"defaultConfiguration": "development"
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "nineteen-project",
3+
"version": "0.0.0",
4+
"scripts": {
5+
"ng": "ng",
6+
"start": "ng serve",
7+
"build": "ng build",
8+
"watch": "ng build --watch --configuration development",
9+
"test": "ng test"
10+
},
11+
"private": true,
12+
"dependencies": {
13+
"@angular/common": "^19.2.0",
14+
"@angular/compiler": "^19.2.0",
15+
"@angular/core": "^19.2.0",
16+
"@angular/forms": "^19.2.0",
17+
"@angular/platform-browser": "^19.2.0",
18+
"@angular/platform-browser-dynamic": "^19.2.0",
19+
"@angular/router": "^19.2.0",
20+
"rxjs": "~7.8.0",
21+
"tslib": "^2.3.0",
22+
"zone.js": "~0.15.0"
23+
},
24+
"devDependencies": {
25+
"@angular-devkit/build-angular": "^19.2.13",
26+
"@angular/cli": "^19.2.13",
27+
"@angular/compiler-cli": "^19.2.0",
28+
"@types/jasmine": "~5.1.0",
29+
"jasmine-core": "~5.6.0",
30+
"karma": "~6.4.0",
31+
"karma-chrome-launcher": "~3.2.0",
32+
"karma-coverage": "~2.2.0",
33+
"karma-jasmine": "~5.1.0",
34+
"karma-jasmine-html-reporter": "~2.1.0",
35+
"typescript": "~5.7.2"
36+
}
37+
}

tests/legacy-cli/e2e/assets/18.0-project/public/favicon.ico renamed to tests/legacy-cli/e2e/assets/19.0-project/public/favicon.ico

File renamed without changes.

tests/legacy-cli/e2e/assets/18.0-project/src/app/app.component.css renamed to tests/legacy-cli/e2e/assets/19.0-project/src/app/app.component.css

File renamed without changes.

tests/legacy-cli/e2e/assets/18.0-project/src/app/app.component.html renamed to tests/legacy-cli/e2e/assets/19.0-project/src/app/app.component.html

File renamed without changes.

0 commit comments

Comments
 (0)