DEV Community

Discussion on: TDD course with AdonisJs - 8. Third party APIs, ioc and custom validators

Collapse
 
michi profile image
Michael Z

Hi :)

If you check .env.testing it should go to port 4000, while dev (.env) goes to 3333 by default. So I never really had to tinker with the defaults.

github.com/MZanggl/tdd-adonisjs/bl...
github.com/MZanggl/tdd-adonisjs/bl...

Collapse
 
avitorio profile image
Andre Vitorio

Got it. I had set 4000 to be the SQLite port, should've gone with 3306 for DB and HOST 4000 for testing. Still finding my way around this Adonis TDD world. Thanks so much for your help!