@gtkx/testing 2.0.0-beta.13 → 2.0.0-beta.14
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 +3 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @gtkx/testing
|
|
2
2
|
|
|
3
|
-
Test GTKX
|
|
3
|
+
Test GTKX apps against real GTK widgets.
|
|
4
4
|
|
|
5
5
|
Render components, query widgets by accessible role or name, drive pointer and keyboard input, and capture screenshots. Use the GTKX Vitest plugin to provide the headless display and global test hooks. With that setup, importing this package registers widget matchers and automatic cleanup.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Apps created with `npm create gtkx` already depend on this package. Otherwise:
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
10
|
npm install -D @gtkx/testing@beta
|
|
@@ -12,6 +12,6 @@ npm install -D @gtkx/testing@beta
|
|
|
12
12
|
|
|
13
13
|
[Guide](https://gtkx.dev/v2/guide/testing) · [API reference](https://gtkx.dev/v2/reference/@gtkx/testing/) · [GTKX](https://gtkx.dev)
|
|
14
14
|
|
|
15
|
-
GTKX requires Linux, Node.js, and the [native prerequisites](https://gtkx.dev/v2/guide/getting-started).
|
|
15
|
+
GTKX requires Linux, Node.js, and the [native prerequisites](https://gtkx.dev/v2/guide/getting-started#what-you-need).
|
|
16
16
|
|
|
17
17
|
[MPL-2.0](https://github.com/gtkx-org/gtkx/blob/main/LICENSE).
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gtkx/testing",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
4
|
-
"description": "Test GTKX
|
|
3
|
+
"version": "2.0.0-beta.14",
|
|
4
|
+
"description": "Test GTKX apps against real GTK widgets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gtkx",
|
|
7
7
|
"gtk",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"node": ">=26.7.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@gtkx/runtime": "^2.0.0-beta.
|
|
60
|
-
"@gtkx/react": "^2.0.0-beta.
|
|
61
|
-
"@gtkx/utils": "^2.0.0-beta.
|
|
59
|
+
"@gtkx/runtime": "^2.0.0-beta.14",
|
|
60
|
+
"@gtkx/react": "^2.0.0-beta.14",
|
|
61
|
+
"@gtkx/utils": "^2.0.0-beta.14",
|
|
62
62
|
"@vitest/pretty-format": "5.1.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@gtkx/config": "2.0.0-beta.
|
|
76
|
-
"@gtkx/vitest": "2.0.0-beta.
|
|
75
|
+
"@gtkx/config": "2.0.0-beta.14",
|
|
76
|
+
"@gtkx/vitest": "2.0.0-beta.14",
|
|
77
77
|
"@types/react": "^19.3.0",
|
|
78
78
|
"vitest": "5.1.0"
|
|
79
79
|
},
|