You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,29 @@ Enabled by default. Throws `DependencyNotConfiguredError` on unconfigured depend
48
48
49
49
See [Fail-Fast Behavior](/docs/api-reference/fail-fast) for details and migration strategies.
50
50
51
+
### Installation
52
+
53
+
```bash
54
+
# Core package (beta)
55
+
npm install @suites/unit@beta
56
+
57
+
# DI adapters (alpha - no boundaries/fail-fast changes)
58
+
npm install @suites/di.nestjs@alpha
59
+
# or
60
+
npm install @suites/di.inversify@alpha
61
+
62
+
# Doubles adapters (beta)
63
+
npm install @suites/doubles.jest@beta
64
+
# or
65
+
npm install @suites/doubles.vitest@beta
66
+
# or
67
+
npm install @suites/doubles.sinon@beta
68
+
```
69
+
70
+
:::tip Why Different Versions?
71
+
`@suites/unit` and doubles adapters are on **beta** (boundaries + fail-fast features). DI adapters remain on **alpha** - they're installed separately and don't contain the new testing logic.
Complete setup examples available in the [Suites Examples](https://github.com/suites-dev/examples) repository.
38
+
42
39
Lastly, make sure `reflect-metadata` is also installed in your project, not as a dev dependency ([Why?](https://www.typescriptlang.org/docs/handbook/decorators.html#metadata)):
Copy file name to clipboardExpand all lines: src/pages/index.tsx
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -346,6 +346,7 @@ export default function Home(): JSX.Element {
346
346
name="description"
347
347
content="Suites automates mocking and simplifies test setup for dependency injection frameworks like NestJS and InversifyJS, reducing boilerplate code."
0 commit comments