Skip to content

Commit 7a3db56

Browse files
authored
Include blog post link to Unit Testing article
1 parent 2c9d826 commit 7a3db56

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docusaurus/docs/dev-docs/backend-customization/controllers.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,9 @@ export default {
258258
When a new [content-type](/dev-docs/backend-customization/models#content-types) is created, Strapi builds a generic controller with placeholder code, ready to be customized.
259259
:::
260260

261-
:::tip
262-
To see a possible advanced usage for custom controllers, read the [services and controllers](/dev-docs/backend-customization/examples/services-and-controllers) page of the backend customization examples cookbook.
261+
:::tip Tips
262+
- To see a possible advanced usage for custom controllers, read the [services and controllers](/dev-docs/backend-customization/examples/services-and-controllers) page of the backend customization examples cookbook.
263+
- If you want to implement unit testing to your controllers, this [blog post](https://strapi.io/blog/automated-testing-for-strapi-api-with-jest-and-supertest) should get you covered.
263264
:::
264265

265266
### Sanitization and Validation in controllers

0 commit comments

Comments
 (0)