Unit testing setup

That makes sense, thanks. I got my code working with a reference like you mentioned. I’m curious though, as to how this is working - strapi.plugins["users-permissions"].services.user.add in this example I found:

That repo is from the same guy who authored the unit testing guide I believe. His setup for tests is the same as mine, but if no app is launched, then we shouldn’t be able to access strapi.plugins either right?