Skip to content

Commit 32eb357

Browse files
committed
2025-11-migrate-to-vitest: fix TOC
1 parent 0eed11c commit 32eb357

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

blog/2025-11-migrate-to-vitest/README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,30 @@ In this article, we'll show you what Vitest means for you, how to migrate existi
2222

2323
## Content
2424

25-
- [Why Angular replaces Karma and Jasmine](#why-angular-replaces-karma-and-jasmine)
26-
- [Migration guide: From Karma/Jasmine to Vitest](#migration-guide-from-karmajasmine-to-vitest)
27-
- [Manual migration steps](#manual-migration-steps)
28-
- [1. Install dependencies](#1-install-dependencies)
29-
- [2. Update `angular.json`](#2-update-angularjson)
30-
- [3. Adopt a custom `karma.conf.js` configuration](#3-adopt-a-custom-karmaconfjs-configuration)
31-
- [4. Remove Karma and `test.ts` files](#4-remove-karma-and-testts-files)
32-
- [5. Configure browser mode (optional)](#5-configure-browser-mode-optional)
33-
- [Automatic test refactoring using the schematic](#automatic-test-refactoring-using-the-schematic)
34-
- [1. Overview](#1-overview)
35-
- [2. Execute the schematic](#2-execute-the-schematic)
36-
- [3. After the migration](#3-after-the-migration)
37-
- [4. Custom configuration (optional)](#4-custom-configuration-optional)
38-
- [The new syntax and APIs](#the-new-syntax-and-apis)
39-
- [Global functions](#global-functions)
40-
- [Matchers](#matchers)
41-
- [1) `toBeTrue()` / `toBeFalse()` do not exist in Jest/Vitest](#1-tobetrue--tobefalse-do-not-exist-in-jestvitest)
42-
- [2) `toHaveBeenCalledOnceWith()` does not exist in Jest/Vitest](#2-tohavebeencalledoncewith-does-not-exist-in-jestvitest)
43-
- [3) Asynchronous Matchers: `expectAsync(...)` (Jasmine) vs. `.resolves/.rejects` (Jest/Vitest)](#3-asynchronous-matchers-expectasync-jasmine-vs-resolvesrejects-jestvitest)
44-
- [Spies and mocks](#spies-and-mocks)
45-
- [Asynchrony without Zone.js using Vitest timers](#asynchrony-without-zonejs-using-vitest-timers)
46-
- [TestBed and ComponentFixture](#testbed-and-componentfixture)
47-
- [Known limitations and pitfalls](#known-limitations-and-pitfalls)
48-
- [Conclusion](#conclusion)
25+
- [Why Angular replaces Karma and Jasmine](/blog/2025-11-migrate-to-vitest#why-angular-replaces-karma-and-jasmine)
26+
- [Migration guide: From Karma/Jasmine to Vitest](/blog/2025-11-migrate-to-vitest#migration-guide-from-karmajasmine-to-vitest)
27+
- [Manual migration steps](/blog/2025-11-migrate-to-vitest#manual-migration-steps)
28+
- [1. Install dependencies](/blog/2025-11-migrate-to-vitest#1-install-dependencies)
29+
- [2. Update `angular.json`](/blog/2025-11-migrate-to-vitest#2-update-angularjson)
30+
- [3. Adapt a custom `karma.conf.js` configuration](/blog/2025-11-migrate-to-vitest#3-adapt-a-custom-karmaconfjs-configuration)
31+
- [4. Remove Karma and `test.ts` files](/blog/2025-11-migrate-to-vitest#4-remove-karma-and-testts-files)
32+
- [5. Configure browser mode (optional)](/blog/2025-11-migrate-to-vitest#5-configure-browser-mode-optional)
33+
- [Automatic test refactoring using the schematic](/blog/2025-11-migrate-to-vitest#automatic-test-refactoring-using-the-schematic)
34+
- [1. Overview](/blog/2025-11-migrate-to-vitest#1-overview)
35+
- [2. Execute the schematic](/blog/2025-11-migrate-to-vitest#2-execute-the-schematic)
36+
- [3. After the migration](/blog/2025-11-migrate-to-vitest#3-after-the-migration)
37+
- [4. Custom configuration (optional)](/blog/2025-11-migrate-to-vitest#4-custom-configuration-optional)
38+
- [The new syntax and APIs](/blog/2025-11-migrate-to-vitest#the-new-syntax-and-apis)
39+
- [Global functions](/blog/2025-11-migrate-to-vitest#global-functions)
40+
- [Matchers](/blog/2025-11-migrate-to-vitest#matchers)
41+
- [1) `toBeTrue()` / `toBeFalse()` do not exist in Jest/Vitest](/blog/2025-11-migrate-to-vitest#1-tobetrue--tobefalse-do-not-exist-in-jestvitest)
42+
- [2) `toHaveBeenCalledOnceWith()` does not exist in Jest/Vitest](/blog/2025-11-migrate-to-vitest#2-tohavebeencalledoncewith-does-not-exist-in-jestvitest)
43+
- [3) Asynchronous Matchers: `expectAsync(...)` (Jasmine) vs. `.resolves/.rejects` (Jest/Vitest)](/blog/2025-11-migrate-to-vitest#3-asynchronous-matchers-expectasync-jasmine-vs-resolvesrejects-jestvitest)
44+
- [Spies and mocks](/blog/2025-11-migrate-to-vitest#spies-and-mocks)
45+
- [Asynchrony without Zone.js using Vitest timers](/blog/2025-11-migrate-to-vitest#asynchrony-without-zonejs-using-vitest-timers)
46+
- [TestBed and ComponentFixture](/blog/2025-11-migrate-to-vitest#testbed-and-componentfixture)
47+
- [Known limitations and pitfalls](/blog/2025-11-migrate-to-vitest#known-limitations-and-pitfalls)
48+
- [Conclusion](/blog/2025-11-migrate-to-vitest#conclusion)
4949

5050

5151
## Why Angular replaces Karma and Jasmine

0 commit comments

Comments
 (0)