@ultimat3/testing 25.0.0 → 25.2.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 +15 -15
- package/src/fixture-island.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/testing",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.2.0",
|
|
4
4
|
"description": "Test harness: cloned template DBs per worker, frozen clock, sealed network, 6 test types",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"test": "bun test"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@ultimat3/action": "25.
|
|
40
|
-
"@ultimat3/cache": "25.
|
|
41
|
-
"@ultimat3/core": "25.
|
|
42
|
-
"@ultimat3/db": "25.
|
|
43
|
-
"@ultimat3/entity": "25.
|
|
44
|
-
"@ultimat3/http": "25.
|
|
45
|
-
"@ultimat3/i18n": "25.
|
|
46
|
-
"@ultimat3/jobs": "25.
|
|
47
|
-
"@ultimat3/mail": "25.
|
|
48
|
-
"@ultimat3/policy": "25.
|
|
49
|
-
"@ultimat3/query": "25.
|
|
50
|
-
"@ultimat3/realtime": "25.
|
|
51
|
-
"@ultimat3/render": "25.
|
|
52
|
-
"@ultimat3/time": "25.
|
|
39
|
+
"@ultimat3/action": "25.2.0",
|
|
40
|
+
"@ultimat3/cache": "25.2.0",
|
|
41
|
+
"@ultimat3/core": "25.2.0",
|
|
42
|
+
"@ultimat3/db": "25.2.0",
|
|
43
|
+
"@ultimat3/entity": "25.2.0",
|
|
44
|
+
"@ultimat3/http": "25.2.0",
|
|
45
|
+
"@ultimat3/i18n": "25.2.0",
|
|
46
|
+
"@ultimat3/jobs": "25.2.0",
|
|
47
|
+
"@ultimat3/mail": "25.2.0",
|
|
48
|
+
"@ultimat3/policy": "25.2.0",
|
|
49
|
+
"@ultimat3/query": "25.2.0",
|
|
50
|
+
"@ultimat3/realtime": "25.2.0",
|
|
51
|
+
"@ultimat3/render": "25.2.0",
|
|
52
|
+
"@ultimat3/time": "25.2.0"
|
|
53
53
|
}
|
|
54
54
|
}
|
package/src/fixture-island.ts
CHANGED
|
@@ -243,7 +243,11 @@ export async function mountIsland(options: MountIslandOptions): Promise<MountedI
|
|
|
243
243
|
}
|
|
244
244
|
const path = modulePathFor(scratch, chunk.code);
|
|
245
245
|
await Bun.write(path, chunk.code);
|
|
246
|
-
|
|
246
|
+
// By `file:` URL, never the bare path: Bun on macOS caches a directory's entries on its first
|
|
247
|
+
// resolution, and a bare-path import of a file written there afterwards is "Cannot find module"
|
|
248
|
+
// (#704, Bun 1.4.0 arm64). The per-mount directory already avoids it; the URL form holds even
|
|
249
|
+
// if a later change ever imports twice from one directory.
|
|
250
|
+
const entry = entryOf(await import(Bun.pathToFileURL(path).href), chunk.file);
|
|
247
251
|
const el = new FakeElement('div');
|
|
248
252
|
// Before the shell and before `mount`: nothing observes the host yet, so this is a write and
|
|
249
253
|
// never a notification.
|