File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
adev/src/content/guide/testing Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,24 @@ The Angular CLI provides an experimental unit test system that can use [Vitest](
55IMPORTANT: This experimental unit testing system requires the use of the ` application ` build system.
66The ` application ` build system is the default for all newly created projects.
77
8+ ## Installing dependencies
9+
10+ Some packages are required for the new builder to work. In order to install the new packages, run the following command :
11+
12+ <docs-code language =" bash " >
13+
14+ npm install vitest jsdom --save-dev
15+
16+ </docs-code >
17+
18+ If no other projects in your workspace use Karma, run the following command to uninstall the corresponding packages :
19+
20+ <docs-code language =" bash " >
21+
22+ npm uninstall karma karma-chrome-launcher karma-coverage karma-jasmine karma-jasmine-html-reporter --save-dev
23+
24+ </docs-code >
25+
826## Set up testing
927
1028The Angular CLI includes the test system within a new project but must be configured before it can be used.
You can’t perform that action at this time.
0 commit comments