@decohere/crucible 0.0.1-dev.118 → 0.0.1-dev.119
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/README.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -298,7 +298,7 @@ using scope = container.beginScope("test");
|
|
|
298
298
|
const hello = scope.resolve(HelloController);
|
|
299
299
|
```
|
|
300
300
|
|
|
301
|
-
To assert constructor arguments under DI, use `spyOnConstructor` from `@decohere/
|
|
301
|
+
To assert constructor arguments under DI, use `spyOnConstructor` from `@decohere/testing` — a bare `vi.spyOn` / `vi.fn` constructor drops `design:paramtypes`. See [Asserting DI constructor arguments](../../docs/testing/how-tos/vitest-constructor-spy-with-di.md).
|
|
302
302
|
|
|
303
303
|
---
|
|
304
304
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decohere/crucible",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
3
|
+
"version": "0.0.1-dev.119",
|
|
4
4
|
"description": "Lightweight dependency injection container with decorator-based wiring",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@decohere/core": "0.0.1-dev.
|
|
33
|
+
"@decohere/core": "0.0.1-dev.119"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {}
|
|
36
36
|
}
|