Skip to content

Commit 9a01082

Browse files
committed
chore: final cleanup of Jasmine/Karma references
- Remove Karma test configuration from packages/angular/angular.json - Update README files to reference Vitest instead of Karma - Remove old test file: register.integration.spec.ts.old - All tests still pass: 94 passed | 1 skipped (95) This completes the comprehensive Jasmine → Vitest migration: ✅ Test runners migrated ✅ Dependencies cleaned ✅ Test syntax converted ✅ Configuration updated ✅ Documentation updated ✅ Old files removed
1 parent 8abee7f commit 9a01082

File tree

4 files changed

+4
-301
lines changed

4 files changed

+4
-301
lines changed

examples/angular/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ This will compile your project and store the build artifacts in the `dist/` dire
3838

3939
## Running unit tests
4040

41-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
41+
To execute unit tests with [Vitest](https://vitest.dev), use the following command:
4242

4343
```bash
44-
ng test
44+
pnpm test
4545
```
4646

4747
## Running end-to-end tests

packages/angular/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ Once the project is built, you can publish your library by following these steps
4343

4444
## Running unit tests
4545

46-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
46+
To execute unit tests with [Vitest](https://vitest.dev), use the following command:
4747

4848
```bash
49-
ng test
49+
pnpm test
5050
```
5151

5252
## Running end-to-end tests

packages/angular/angular.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@
1515
"project": "ng-package.json"
1616
}
1717
},
18-
"test": {
19-
"builder": "@angular-devkit/build-angular:karma",
20-
"options": {
21-
"main": "src/test.ts",
22-
"tsConfig": "tsconfig.spec.json",
23-
"karmaConfig": "karma.conf.js",
24-
"polyfills": ["zone.js", "zone.js/testing"],
25-
"styles": [],
26-
"scripts": [],
27-
"assets": [],
28-
"include": ["src/**/*.spec.ts", "src/**/*.d.ts"]
29-
}
30-
}
3118
}
3219
}
3320
}

packages/angular/src/lib/tests/integration/auth/register.integration.spec.ts.old

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

0 commit comments

Comments
 (0)