@teambit/harmony.content.cli-reference 2.0.1011 → 2.0.1012
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +10 -0
- package/cli-reference.mdx +14 -12
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +10 -0
- package/dist/cli-reference.mdx.js +15 -11
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1776774270951.js → preview-1776783730786.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -3709,6 +3709,16 @@
|
|
|
3709
3709
|
"j",
|
|
3710
3710
|
"json",
|
|
3711
3711
|
"return the results in json format"
|
|
3712
|
+
],
|
|
3713
|
+
[
|
|
3714
|
+
"",
|
|
3715
|
+
"verbose",
|
|
3716
|
+
"list the component ids that have no tests (default collapses them into a count)"
|
|
3717
|
+
],
|
|
3718
|
+
[
|
|
3719
|
+
"",
|
|
3720
|
+
"summary",
|
|
3721
|
+
"suppress tester output, print only the final pass/fail headline (or summary object with --json)"
|
|
3712
3722
|
]
|
|
3713
3723
|
],
|
|
3714
3724
|
"description": "run component tests",
|
package/cli-reference.mdx
CHANGED
|
@@ -2718,18 +2718,20 @@ supports watch mode, coverage reporting, and debug mode for development workflow
|
|
|
2718
2718
|
| ------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
2719
2719
|
| `component-pattern` | component name, component id, component pattern, or relative directory path. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
|
|
2720
2720
|
|
|
2721
|
-
| **Option** | **Option alias** | **Description**
|
|
2722
|
-
| ---------------------- | :--------------: |
|
|
2723
|
-
| `--watch` | `-w` | start the tester in watch mode.
|
|
2724
|
-
| `--debug` | `-d` | start the tester in debug mode.
|
|
2725
|
-
| `--all` | `-a` | DEPRECATED. (use --unmodified)
|
|
2726
|
-
| `--unmodified` | `-u` | test all components, not only new and modified
|
|
2727
|
-
| `--junit <filepath>` | | write tests results as JUnit XML format into the specified file path
|
|
2728
|
-
| `--coverage` | | show code coverage data
|
|
2729
|
-
| `--env <id>` | `-e` | test only components assigned the given env
|
|
2730
|
-
| `--update-snapshot` | | if supported by the tester, re-record every snapshot that fails during the test run
|
|
2731
|
-
| `--scope <scope-name>` | `-s` | DEPRECATED. (use the pattern instead, e.g. "scopeName/\*\*"). name of the scope to test
|
|
2732
|
-
| `--json` | `-j` | return the results in json format
|
|
2721
|
+
| **Option** | **Option alias** | **Description** |
|
|
2722
|
+
| ---------------------- | :--------------: | ----------------------------------------------------------------------------------------------- |
|
|
2723
|
+
| `--watch` | `-w` | start the tester in watch mode. |
|
|
2724
|
+
| `--debug` | `-d` | start the tester in debug mode. |
|
|
2725
|
+
| `--all` | `-a` | DEPRECATED. (use --unmodified) |
|
|
2726
|
+
| `--unmodified` | `-u` | test all components, not only new and modified |
|
|
2727
|
+
| `--junit <filepath>` | | write tests results as JUnit XML format into the specified file path |
|
|
2728
|
+
| `--coverage` | | show code coverage data |
|
|
2729
|
+
| `--env <id>` | `-e` | test only components assigned the given env |
|
|
2730
|
+
| `--update-snapshot` | | if supported by the tester, re-record every snapshot that fails during the test run |
|
|
2731
|
+
| `--scope <scope-name>` | `-s` | DEPRECATED. (use the pattern instead, e.g. "scopeName/\*\*"). name of the scope to test |
|
|
2732
|
+
| `--json` | `-j` | return the results in json format |
|
|
2733
|
+
| `--verbose` | | list the component ids that have no tests (default collapses them into a count) |
|
|
2734
|
+
| `--summary` | | suppress tester output, print only the final pass/fail headline (or summary object with --json) |
|
|
2733
2735
|
|
|
2734
2736
|
---
|
|
2735
2737
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -3709,6 +3709,16 @@
|
|
|
3709
3709
|
"j",
|
|
3710
3710
|
"json",
|
|
3711
3711
|
"return the results in json format"
|
|
3712
|
+
],
|
|
3713
|
+
[
|
|
3714
|
+
"",
|
|
3715
|
+
"verbose",
|
|
3716
|
+
"list the component ids that have no tests (default collapses them into a count)"
|
|
3717
|
+
],
|
|
3718
|
+
[
|
|
3719
|
+
"",
|
|
3720
|
+
"summary",
|
|
3721
|
+
"suppress tester output, print only the final pass/fail headline (or summary object with --json)"
|
|
3712
3722
|
]
|
|
3713
3723
|
],
|
|
3714
3724
|
"description": "run component tests",
|
|
@@ -5507,41 +5507,45 @@ function _createMdxContent(props) {
|
|
|
5507
5507
|
children: "Option alias"
|
|
5508
5508
|
}), " | ", (0, _jsxRuntime.jsx)(_components.strong, {
|
|
5509
5509
|
children: "Description"
|
|
5510
|
-
}), "
|
|
5510
|
+
}), " |\n| ---------------------- | :--------------: | ----------------------------------------------------------------------------------------------- |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5511
5511
|
children: "--watch"
|
|
5512
5512
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5513
5513
|
children: "-w"
|
|
5514
|
-
}), " | start the tester in watch mode.
|
|
5514
|
+
}), " | start the tester in watch mode. |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5515
5515
|
children: "--debug"
|
|
5516
5516
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5517
5517
|
children: "-d"
|
|
5518
|
-
}), " | start the tester in debug mode.
|
|
5518
|
+
}), " | start the tester in debug mode. |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5519
5519
|
children: "--all"
|
|
5520
5520
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5521
5521
|
children: "-a"
|
|
5522
|
-
}), " | DEPRECATED. (use --unmodified)
|
|
5522
|
+
}), " | DEPRECATED. (use --unmodified) |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5523
5523
|
children: "--unmodified"
|
|
5524
5524
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5525
5525
|
children: "-u"
|
|
5526
|
-
}), " | test all components, not only new and modified
|
|
5526
|
+
}), " | test all components, not only new and modified |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5527
5527
|
children: "--junit <filepath>"
|
|
5528
|
-
}), " | | write tests results as JUnit XML format into the specified file path
|
|
5528
|
+
}), " | | write tests results as JUnit XML format into the specified file path |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5529
5529
|
children: "--coverage"
|
|
5530
|
-
}), " | | show code coverage data
|
|
5530
|
+
}), " | | show code coverage data |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5531
5531
|
children: "--env <id>"
|
|
5532
5532
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5533
5533
|
children: "-e"
|
|
5534
|
-
}), " | test only components assigned the given env
|
|
5534
|
+
}), " | test only components assigned the given env |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5535
5535
|
children: "--update-snapshot"
|
|
5536
|
-
}), " | | if supported by the tester, re-record every snapshot that fails during the test run
|
|
5536
|
+
}), " | | if supported by the tester, re-record every snapshot that fails during the test run |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5537
5537
|
children: "--scope <scope-name>"
|
|
5538
5538
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5539
5539
|
children: "-s"
|
|
5540
|
-
}), " | DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test
|
|
5540
|
+
}), " | DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5541
5541
|
children: "--json"
|
|
5542
5542
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5543
5543
|
children: "-j"
|
|
5544
|
-
}), " | return the results in json format
|
|
5544
|
+
}), " | return the results in json format |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5545
|
+
children: "--verbose"
|
|
5546
|
+
}), " | | list the component ids that have no tests (default collapses them into a count) |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5547
|
+
children: "--summary"
|
|
5548
|
+
}), " | | suppress tester output, print only the final pass/fail headline (or summary object with --json) |"]
|
|
5545
5549
|
}), "\n", (0, _jsxRuntime.jsx)(_components.hr, {}), "\n", (0, _jsxRuntime.jsx)(_components.h2, {
|
|
5546
5550
|
children: "undeprecate"
|
|
5547
5551
|
}), "\n", (0, _jsxRuntime.jsxs)(_components.p, {
|