@zerotal/testing 1.7.5 → 1.8.1
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": "@zerotal/testing",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"maturity": "stable",
|
|
6
6
|
"private": false,
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"typecheck": "tsc --noEmit"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@zerotal/core": "1.
|
|
36
|
-
"@zerotal/orm": "1.
|
|
37
|
-
"@zerotal/queue": "1.
|
|
38
|
-
"@zerotal/notifications": "1.
|
|
35
|
+
"@zerotal/core": "1.8.1",
|
|
36
|
+
"@zerotal/orm": "1.8.1",
|
|
37
|
+
"@zerotal/queue": "1.8.1",
|
|
38
|
+
"@zerotal/notifications": "1.8.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "^5.8.0",
|
|
42
|
-
"@zerotal/session": "1.
|
|
42
|
+
"@zerotal/session": "1.8.1"
|
|
43
43
|
},
|
|
44
44
|
"description": "Testing utilities for Zerotal — an in-process test app, HTTP helpers, and database refresh.",
|
|
45
45
|
"keywords": [
|
|
@@ -434,6 +434,11 @@ export class FlowBrowser {
|
|
|
434
434
|
//
|
|
435
435
|
// Registered before the caller's own `setup`, so a suite can still
|
|
436
436
|
// override the mount if it means to.
|
|
437
|
+
// `process.cwd()`, matching what the framework's own `_bootConventions`
|
|
438
|
+
// does — which means a suite invoked from the repo root rather than from
|
|
439
|
+
// the app directory mounts a `public/` that is not there, and every page
|
|
440
|
+
// arrives unstyled. It fails as a layout assertion rather than as a
|
|
441
|
+
// missing file, so it is worth knowing before spending an hour on it.
|
|
437
442
|
Router.static("/", `${process.cwd()}/public`);
|
|
438
443
|
options.setup?.();
|
|
439
444
|
},
|