From ff9c3eca9374ca45a71bced70e48e0b578a6829e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=B6ller?= Date: Wed, 16 Apr 2025 10:19:40 +0200 Subject: [PATCH] Update suites.md My workmate and me had an issue with getting suites running and in the end it was the case of this missing compilerOption, which i feel should be mentioned in documentation, as it can be easily overlooked :) --- content/recipes/suites.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/recipes/suites.md b/content/recipes/suites.md index 9869e6db61..81167bd9e9 100644 --- a/content/recipes/suites.md +++ b/content/recipes/suites.md @@ -18,6 +18,8 @@ $ npm i -D @suites/unit @suites/di.nestjs @suites/doubles.jest > info **Hint** `Suites` supports Vitest and Sinon as test doubles as well, `@suites/doubles.vitest` and `@suites/doubles.sinon` respectively. +> info **Hint** Make sure to have `"emitDecoratorMetadata": true` in your tsconfig `compilerOptions` (nestJS standard) + #### Example and module setup Consider a module setup for `CatsService` that includes `CatsApiService`, `CatsDAL`, `HttpClient`, and `Logger`. This