LoginAs not a function #4298
Unanswered
victorLessa
asked this question in
Help
Replies: 1 comment
-
export const plugins: Config['plugins'] = [assert(), apiClient(), pluginAdonisJS(app), authApiClient(app)] hi, :) you have to add authApiClient(app) in your plugins in tests/bootstrap.ts |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My application is not recognizing the loginAs function in tests. Can someone help me?


authentication works when tested manually using postman
Beta Was this translation helpful? Give feedback.
All reactions