@symbiote-native/test-utils 0.4.3 → 0.4.4
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/build/wait-for.js +2 -7
- package/package.json +2 -2
package/build/wait-for.js
CHANGED
|
@@ -8,19 +8,14 @@
|
|
|
8
8
|
// proxy breaks, and the failure reads as a product bug — a press that produced no event, change
|
|
9
9
|
// detection that never stopped — rather than as the harness giving up early.
|
|
10
10
|
//
|
|
11
|
-
// Measured 2026-08-19: three tests across two adapters failed only inside a loaded `vitest run`
|
|
12
|
-
// and passed in isolation, every one of them on a fixed tick count.
|
|
13
|
-
//
|
|
14
11
|
// Use `waitUntil` when a condition names what you are waiting for, and `waitForQuiet` when the
|
|
15
12
|
// thing to wait for is the ABSENCE of further work. Do not raise a tick count to fix a flake —
|
|
16
13
|
// that trades a fast failure for a slow one and keeps the race.
|
|
17
14
|
const TICK_MS = 0;
|
|
18
15
|
const DEFAULT_TIMEOUT_MS = 2_000;
|
|
19
16
|
// A tick count cannot express "no work arrived", only "the queue drained N times" — and how much
|
|
20
|
-
// wall time that spans is a property of the machine.
|
|
21
|
-
//
|
|
22
|
-
// quiet before the list's own batch and a loaded one caught it. The producer is RN's VirtualizedList
|
|
23
|
-
// batching period (50ms), the longest deferred one in this repo; quiet has to outlast it.
|
|
17
|
+
// wall time that spans is a property of the machine. The longest deferred producer in this repo
|
|
18
|
+
// is RN's VirtualizedList batching period (50ms); quiet has to outlast it.
|
|
24
19
|
const DEFAULT_QUIET_MS = 75;
|
|
25
20
|
// Read off the host rather than imported, the same reason the engine's animations/raf.ts does:
|
|
26
21
|
// this package's tsconfig carries no DOM and no Node lib, so the ambient names do not exist.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/test-utils",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Shared, framework-agnostic fake-Fabric test harness for SymbioteNative — the fake nativeFabricUIManager recorder used by the co-located test suites across the engine, every adapter, and the example apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@symbiote-native/engine": "1.3.
|
|
43
|
+
"@symbiote-native/engine": "1.3.1"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"typecheck": "tsc --build",
|