DEV Community

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

Collapse
 
avitorio profile image
Andre Vitorio • Edited

Hi Michi,

Great job! Just wanted to say that I almost missed this post (number 8) because it isn't set as a part of the TDD course table of contents.

Also, you've written "test.spec.js" instead of "thread.spec.js" at some point.

Collapse
 
michi profile image
Michael Z

Thanks for pointing that out!

Collapse
 
avitorio profile image
Andre Vitorio

Btw, on the hooks.js "Simply becomes" code, you forgot to import ioc.

const { ioc } = use('@adonisjs/fold')