Skip to content
Discussion options

You must be logged in to vote

@thetutlage Also the description for the fake method says:

Register a fake for an existing binding. The fakes only work when [[this.useProxies]] is invoked. AdonisJs will set invoke it automatically when running tests.

Can it be an issue with the proxies? Or there should be some additional steps? While tests are running I've console logged the container and the proxiesEnabled property is false

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@thetutlage
Comment options

@eidellev
Comment options

@thetutlage
Comment options

@4konung
Comment options

@eidellev
Comment options

Comment options

You must be logged in to vote
3 replies
@eidellev
Comment options

@4konung
Comment options

@eidellev
Comment options

Answer selected by thetutlage
Comment options

You must be logged in to vote
2 replies
@thetutlage
Comment options

@4konung
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants