@openmrs/esm-form-builder-app 2.5.1-pre.896 → 2.5.1-pre.916
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/README.md +8 -7
- package/dist/237.js +1 -1
- package/dist/237.js.map +1 -1
- package/dist/590.js +1 -1
- package/dist/590.js.map +1 -1
- package/dist/874.js +1 -1
- package/dist/874.js.map +1 -1
- package/dist/openmrs-esm-form-builder-app.js.buildmanifest.json +7 -7
- package/dist/routes.json +1 -1
- package/package.json +6 -5
- package/src/components/interactive-builder/add-question-modal.component.tsx +1 -1
- package/src/components/interactive-builder/edit-question-modal.component.tsx +134 -127
- package/src/components/interactive-builder/interactive-builder.component.tsx +6 -2
package/README.md
CHANGED
|
@@ -46,19 +46,19 @@ Once the dev server launches, log in and select a location. You will get redirec
|
|
|
46
46
|
To run tests for all packages, run:
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
|
-
yarn turbo test
|
|
49
|
+
yarn turbo run test
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
To run tests in `watch` mode, run:
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
|
-
yarn turbo test:watch
|
|
55
|
+
yarn turbo run test:watch
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
To run a specific test file, run:
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
|
-
yarn turbo test -- dashboard
|
|
61
|
+
yarn turbo run test -- dashboard
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
The above command will only run tests in the file or files that match the provided string.
|
|
@@ -66,19 +66,19 @@ The above command will only run tests in the file or files that match the provid
|
|
|
66
66
|
You can also run the matching tests from above in watch mode by running:
|
|
67
67
|
|
|
68
68
|
```bash
|
|
69
|
-
yarn turbo test:watch -- dashboard
|
|
69
|
+
yarn turbo run test:watch -- dashboard
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
To generate a `coverage` report, run:
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
|
-
yarn turbo coverage
|
|
75
|
+
yarn turbo run coverage
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
By default, `turbo` will cache test runs. This means that re-running tests wihout changing any of the related files will return the cached logs from the last run. To bypass the cache, run tests with the `force` flag, as follows:
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
|
-
yarn turbo test --force
|
|
81
|
+
yarn turbo run test --force
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
### E2E tests
|
|
@@ -96,8 +96,9 @@ yarn test-e2e --headed
|
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
Read the [e2e testing guide](/e2e/README.md) to learn more about End-to-End tests in this project.
|
|
99
|
+
|
|
99
100
|
## Building
|
|
100
101
|
|
|
101
102
|
```sh
|
|
102
|
-
yarn build
|
|
103
|
+
yarn turbo run build
|
|
103
104
|
```
|