@pyreon/runtime-dom 0.18.0 → 0.19.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 +6 -6
- package/src/tests/transition.test.ts +11 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyreon/runtime-dom",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "DOM renderer for Pyreon",
|
|
5
5
|
"homepage": "https://github.com/pyreon/pyreon/tree/main/packages/runtime-dom#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"prepublishOnly": "bun run build"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@pyreon/core": "^0.
|
|
58
|
-
"@pyreon/reactivity": "^0.
|
|
57
|
+
"@pyreon/core": "^0.19.0",
|
|
58
|
+
"@pyreon/reactivity": "^0.19.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@happy-dom/global-registrator": "^20.8.9",
|
|
62
|
-
"@pyreon/compiler": "^0.
|
|
62
|
+
"@pyreon/compiler": "^0.19.0",
|
|
63
63
|
"@pyreon/manifest": "0.13.1",
|
|
64
|
-
"@pyreon/runtime-server": "^0.
|
|
65
|
-
"@pyreon/test-utils": "^0.13.
|
|
64
|
+
"@pyreon/runtime-server": "^0.19.0",
|
|
65
|
+
"@pyreon/test-utils": "^0.13.6",
|
|
66
66
|
"@vitest/browser-playwright": "^4.1.4",
|
|
67
67
|
"esbuild": "^0.28.0",
|
|
68
68
|
"happy-dom": "^20.8.3",
|
|
@@ -125,8 +125,18 @@ describe('Transition', () => {
|
|
|
125
125
|
// flaked). `vi.waitFor` polls every 10ms up to the timeout, so it
|
|
126
126
|
// settles as soon as the assertion holds while still bounding the
|
|
127
127
|
// worst case.
|
|
128
|
+
//
|
|
129
|
+
// Timeout raised 2000 → 8000: under the full 60+-package parallel
|
|
130
|
+
// CI `Test` job, event-loop starvation can delay the Transition's
|
|
131
|
+
// completion callback past 2s (it was reproducibly flaking this
|
|
132
|
+
// single test there while passing deterministically in isolation).
|
|
133
|
+
// The runtime itself bounds Transition completion at a documented
|
|
134
|
+
// 5s fallback (CLAUDE.md), so a test asserting that completion must
|
|
135
|
+
// allow ≥5s + CI-scheduling margin. The poll still settles
|
|
136
|
+
// immediately once `onAfterEnter` fires — this only widens the
|
|
137
|
+
// worst-case ceiling, it does not slow the happy path.
|
|
128
138
|
await vi.waitFor(() => expect(onAfterEnter).toHaveBeenCalled(), {
|
|
129
|
-
timeout:
|
|
139
|
+
timeout: 8000,
|
|
130
140
|
})
|
|
131
141
|
}
|
|
132
142
|
})
|