feathersjs / docs

[MOVED] Legacy Feathers documentation

Home Page:https://crow.docs.feathersjs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: Add docs for testing hooks

florianbepunkt opened this issue · comments

Comment/Problem

Only documentation about writing tests I found was this
https://docs.feathersjs.com/guides/basics/testing.html

This provides insight into testing services, but it would be helpful to add information about testing hooks. Can hooks be tested in isolation? Or should they always be tested with a service.

For anyone else stumbling upon this: Here is some great advice on how to test hooks https://blog.feathersjs.com/testing-feathers-applications-eaf1a323d2d9