@ultimat3/testing 31.6.0 → 31.7.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/CLAUDE.md +1 -0
- package/package.json +22 -22
package/CLAUDE.md
CHANGED
|
@@ -30,6 +30,7 @@ the off-barrel entry points `registry-isolation.ts`, `conformance.ts`. Full rule
|
|
|
30
30
|
| `toBeUltimateError` reads THREE fields | an `X_` code plus a `cause` plus a `fix`, all through core's `stringField`. `typeof value.code === 'string'` alone passed a Node `ENOENT` |
|
|
31
31
|
| One matcher WAITS, and it is `toBeVisible` | `await expect(locator).toBeVisible()` retries `isVisible()` to a budget — 5000ms every 100ms, Playwright's own default, narrowable per call. |
|
|
32
32
|
| The budget is counted in LOOKS, at a FIXED interval | `attemptsFor(budget)` is `1 + floor(timeout / interval)`; never a clock deadline, never a curve. Full rule: `docs/history/testing.md` |
|
|
33
|
+
| A Worker-backed promise is settled by hand, never `expect(p).rejects`/`.resolves` | Bun 1.4.4: once a test has awaited one Worker reply, those matchers wait for the next one without ever delivering it, and the file hangs until killed (an image transform runs on core's raster Worker). `expect(await p.then(() => 'passed', () => 'refused')).toBe('refused')`; repro and fix: `image-transform-conformance.test.ts` |
|
|
33
34
|
| A matcher that may throw a coded error MUST NOT be `async` | bun REPLACES an `async` matcher's thrown error with `returned a promise that rejected`, so code, cause and fix are gone. Full rule: `docs/history/testing.md` |
|
|
34
35
|
| Wrong receiver throws, wrong value returns | a wrong-shaped receiver is a coded throw, never `pass: false` |
|
|
35
36
|
| A matcher MESSAGE is a thunk, and never `JSON.stringify` | `result(pass, () => …)`. Full rule: `docs/history/testing.md` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/testing",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.7.0",
|
|
4
4
|
"description": "Test harness: cloned template DBs per worker, frozen clock, sealed network, 6 test types",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ultimate",
|
|
@@ -47,26 +47,26 @@
|
|
|
47
47
|
"test": "bun test"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@ultimat3/action": "31.
|
|
51
|
-
"@ultimat3/ai": "31.
|
|
52
|
-
"@ultimat3/auth": "31.
|
|
53
|
-
"@ultimat3/cache": "31.
|
|
54
|
-
"@ultimat3/core": "31.
|
|
55
|
-
"@ultimat3/db": "31.
|
|
56
|
-
"@ultimat3/entity": "31.
|
|
57
|
-
"@ultimat3/http": "31.
|
|
58
|
-
"@ultimat3/i18n": "31.
|
|
59
|
-
"@ultimat3/jobs": "31.
|
|
60
|
-
"@ultimat3/mail": "31.
|
|
61
|
-
"@ultimat3/notify": "31.
|
|
62
|
-
"@ultimat3/policy": "31.
|
|
63
|
-
"@ultimat3/pwa": "31.
|
|
64
|
-
"@ultimat3/query": "31.
|
|
65
|
-
"@ultimat3/realtime": "31.
|
|
66
|
-
"@ultimat3/render": "31.
|
|
67
|
-
"@ultimat3/schema": "31.
|
|
68
|
-
"@ultimat3/scraping": "31.
|
|
69
|
-
"@ultimat3/seo": "31.
|
|
70
|
-
"@ultimat3/time": "31.
|
|
50
|
+
"@ultimat3/action": "31.7.0",
|
|
51
|
+
"@ultimat3/ai": "31.7.0",
|
|
52
|
+
"@ultimat3/auth": "31.7.0",
|
|
53
|
+
"@ultimat3/cache": "31.7.0",
|
|
54
|
+
"@ultimat3/core": "31.7.0",
|
|
55
|
+
"@ultimat3/db": "31.7.0",
|
|
56
|
+
"@ultimat3/entity": "31.7.0",
|
|
57
|
+
"@ultimat3/http": "31.7.0",
|
|
58
|
+
"@ultimat3/i18n": "31.7.0",
|
|
59
|
+
"@ultimat3/jobs": "31.7.0",
|
|
60
|
+
"@ultimat3/mail": "31.7.0",
|
|
61
|
+
"@ultimat3/notify": "31.7.0",
|
|
62
|
+
"@ultimat3/policy": "31.7.0",
|
|
63
|
+
"@ultimat3/pwa": "31.7.0",
|
|
64
|
+
"@ultimat3/query": "31.7.0",
|
|
65
|
+
"@ultimat3/realtime": "31.7.0",
|
|
66
|
+
"@ultimat3/render": "31.7.0",
|
|
67
|
+
"@ultimat3/schema": "31.7.0",
|
|
68
|
+
"@ultimat3/scraping": "31.7.0",
|
|
69
|
+
"@ultimat3/seo": "31.7.0",
|
|
70
|
+
"@ultimat3/time": "31.7.0"
|
|
71
71
|
}
|
|
72
72
|
}
|