@octanejs/testing-library 0.1.66 → 0.1.68
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 +9 -8
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -6,12 +6,13 @@ for the [octane](https://github.com/octanejs/octane) UI framework.
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
8
|
```sh
|
|
9
|
-
npm install @octanejs/testing-library
|
|
10
|
-
pnpm add @octanejs/testing-library
|
|
9
|
+
npm install @octanejs/testing-library @testing-library/dom
|
|
10
|
+
pnpm add @octanejs/testing-library @testing-library/dom
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
This package peers on
|
|
14
|
-
`
|
|
13
|
+
This package peers on the current Octane minor line and, as React Testing Library
|
|
14
|
+
does, on `@testing-library/dom` (its `peerDependencies` names the ranges), so
|
|
15
|
+
`configure()` and the queries share your test setup's DOM Testing Library.
|
|
15
16
|
|
|
16
17
|
The split mirrors RTL's own architecture (and
|
|
17
18
|
`docs/react-library-compat-plan.md` §2): **`@testing-library/dom` is
|
|
@@ -166,7 +167,7 @@ this package's [`status.json`](./status.json).
|
|
|
166
167
|
|
|
167
168
|
## Runtime requirement
|
|
168
169
|
|
|
169
|
-
|
|
170
|
-
with testing-library
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
Use the Octane minor line this package's `peerDependencies` names, and upgrade
|
|
171
|
+
Octane together with testing-library. The packed-consumer checks exercise the
|
|
172
|
+
`isInActScope` API used for nested `act` batching and rendering inside an outer
|
|
173
|
+
`act` scope.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/testing-library",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.68",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -37,16 +37,15 @@
|
|
|
37
37
|
".": "./src/index.ts",
|
|
38
38
|
"./pure": "./src/pure.ts"
|
|
39
39
|
},
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"@testing-library/dom": "^10.4.1"
|
|
42
|
-
},
|
|
43
40
|
"peerDependencies": {
|
|
41
|
+
"@testing-library/dom": "^10.4.1",
|
|
44
42
|
"octane": "^0.16.0"
|
|
45
43
|
},
|
|
46
44
|
"devDependencies": {
|
|
45
|
+
"@testing-library/dom": "^10.4.1",
|
|
47
46
|
"@testing-library/user-event": "^14.6.1",
|
|
48
47
|
"esbuild": "^0.28.1",
|
|
49
|
-
"octane": "0.16.
|
|
48
|
+
"octane": "0.16.7",
|
|
50
49
|
"react": "19.2.7",
|
|
51
50
|
"react-dom": "19.2.7",
|
|
52
51
|
"semver": "7.8.5",
|