File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -88,21 +88,27 @@ You can also run the unit tests of single package:
8888pnpm run test:unit packages/core
8989```
9090
91- ### Run artifact tests
91+ Update snapshots:
9292
93- Rslib will also verify the correctness of generated artifacts. You can run the artifact tests by executing the following command:
93+ ``` sh
94+ pnpm run test:unit -u
95+ ```
96+
97+ ### Run integration tests
98+
99+ Rslib will also verify the correctness of generated artifacts. You can run the integration tests by executing the following command:
94100
95101``` sh
96- pnpm run test:artifact
102+ pnpm run test:integration
97103```
98104
99105If you need to run a specified test, you can add keywords to filter:
100106
101107``` sh
102108# Only run test cases which contains `dts` keyword in file path
103- pnpm test:artifact dts
109+ pnpm test:integration dts
104110# Only run test cases which contains `dts` keyword in test name
105- pnpm test:artifact -t dts
111+ pnpm test:integration -t dts
106112```
107113
108114## Linting
You can’t perform that action at this time.
0 commit comments