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
By default, Feathers expects services to be available when testing. This makes testing harder and, ideally, tests should have zero external dependencies. There's a few ways we could solve this:
perhaps the easiest is to use Node to execute the command docker-compose start postgres redis before any tests run, and execute docker-compose stop postgres redis after all tests have run.
Another way would be to find a way to remove this dependency, either by mocking the sequelize library methods or by creating a test-specific Feathers app, rather than using the dev/prod app.
The text was updated successfully, but these errors were encountered:
By default, Feathers expects services to be available when testing. This makes testing harder and, ideally, tests should have zero external dependencies. There's a few ways we could solve this:
docker-compose start postgres redis
before any tests run, and executedocker-compose stop postgres redis
after all tests have run.sequelize
library methods or by creating a test-specific Feathers app, rather than using the dev/prod app.The text was updated successfully, but these errors were encountered: