@strav/testing 1.0.0-alpha.31 → 1.0.0-alpha.33
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 +4 -4
- package/src/boot_test_app.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strav/testing",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.33",
|
|
4
4
|
"description": "Strav testing utilities — in-memory stream, typed fetch stub, Postgres availability probe + schema reset, bootTestApp orchestrator, stub providers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@strav/database": "1.0.0-alpha.
|
|
27
|
-
"@strav/kernel": "1.0.0-alpha.
|
|
26
|
+
"@strav/database": "1.0.0-alpha.33",
|
|
27
|
+
"@strav/kernel": "1.0.0-alpha.33"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@strav/brain": "1.0.0-alpha.
|
|
30
|
+
"@strav/brain": "1.0.0-alpha.33",
|
|
31
31
|
"@types/bun": ">=1.3.14"
|
|
32
32
|
},
|
|
33
33
|
"peerDependenciesMeta": {
|
package/src/boot_test_app.ts
CHANGED
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
Application,
|
|
65
65
|
ConfigProvider,
|
|
66
66
|
LoggerProvider,
|
|
67
|
-
type
|
|
67
|
+
type ServiceProviderEntry,
|
|
68
68
|
} from '@strav/kernel'
|
|
69
69
|
import { type ConfigOverrides, composeTestConfig } from './compose_test_config.ts'
|
|
70
70
|
import { createTestDatabase } from './postgres/create_test_database.ts'
|
|
@@ -101,7 +101,7 @@ export interface BootTestAppOptions {
|
|
|
101
101
|
* (`Config`, `Logger`, `Database`, `TenantManager`). Order within
|
|
102
102
|
* this list matters for the kernel's topological sort.
|
|
103
103
|
*/
|
|
104
|
-
providers?: readonly
|
|
104
|
+
providers?: readonly ServiceProviderEntry[]
|
|
105
105
|
/**
|
|
106
106
|
* Opt out of the standard four. Useful for tests that need a custom
|
|
107
107
|
* `LoggerProvider`, no `DatabaseProvider`, etc. When `true`, you own
|