@tramvai/test-child-app 1.58.1 → 1.61.0
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 +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Helpers library for writing unit tests for tramvai child-app
|
|
4
4
|
|
|
5
|
-
Uses [`@tramvai/test-unit`](./
|
|
5
|
+
Uses [`@tramvai/test-unit`](./unit.md) under hood to create test root-app that will wrap child-app.
|
|
6
6
|
|
|
7
7
|
## How to
|
|
8
8
|
|
|
9
9
|
### Test child-app main component render
|
|
10
10
|
|
|
11
|
-
You can get React Component returned by child-app from return value of `testChildApp` function and use for example `testComponent` helper from the [`@tramvai/test-react`](./
|
|
11
|
+
You can get React Component returned by child-app from return value of `testChildApp` function and use for example `testComponent` helper from the [`@tramvai/test-react`](./react.md)
|
|
12
12
|
|
|
13
13
|
:::warning
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/test-child-app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.61.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
"build-for-publish": "true"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@tramvai/child-app-core": "1.
|
|
22
|
-
"@tramvai/core": "1.
|
|
23
|
-
"@tramvai/test-unit": "1.
|
|
21
|
+
"@tramvai/child-app-core": "1.61.0",
|
|
22
|
+
"@tramvai/core": "1.61.0",
|
|
23
|
+
"@tramvai/test-unit": "1.61.0",
|
|
24
24
|
"tslib": "^2.0.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@tramvai/react": "1.
|
|
27
|
+
"@tramvai/react": "1.61.0",
|
|
28
28
|
"react": "^17.0.2"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@tramvai/module-child-app": "1.
|
|
31
|
+
"@tramvai/module-child-app": "1.61.0"
|
|
32
32
|
},
|
|
33
33
|
"license": "Apache-2.0",
|
|
34
34
|
"module": "lib/index.es.js"
|