@goliapkg/smix 9.0.0 → 10.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goliapkg/smix",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Playwright-shape iOS Simulator / Android emulator UI automation SDK for React Native + Expo + Detox-compatible TypeScript test runners.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0 OR MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"typecheck": "tsc --noEmit -p tsconfig.json && tsc -p tsconfig.test.json"
|
|
26
26
|
},
|
|
27
27
|
"optionalDependencies": {
|
|
28
|
-
"@goliapkg/smix-node": "
|
|
28
|
+
"@goliapkg/smix-node": "10.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^20.14.0",
|
|
@@ -56,8 +56,14 @@ describe('smix-rn drives through the real napi addon (C4)', () => {
|
|
|
56
56
|
const wire = await startFakeWire()
|
|
57
57
|
try {
|
|
58
58
|
const driver = await loadNodeDriver(wire.port)
|
|
59
|
-
const
|
|
60
|
-
|
|
59
|
+
const answer = JSON.parse(await driver.snapshotTree())
|
|
60
|
+
// Since v10 the tree arrives with the reader that produced it. The
|
|
61
|
+
// two are not interchangeable: a screen the accessibility reader has
|
|
62
|
+
// gone blind on and a screen with nothing on it are the same shape
|
|
63
|
+
// without the source, which is why it travels with the tree rather
|
|
64
|
+
// than beside it.
|
|
65
|
+
expect(answer.source).toBe('a11y')
|
|
66
|
+
expect(answer.root.identifier).toBe('root')
|
|
61
67
|
} finally {
|
|
62
68
|
await wire.close()
|
|
63
69
|
}
|