Hello loopback cracks,
I have the following problem: a model inherits from the built-in user model. When I run the application 'normally', all is well. When trying to do it in a mocha setup, I get the following error:
Error: Invalid target model for scope `Customer.prototype.accessTokens`
I can see that the Customer class has most accessors up, but for some reason it seems that accessTokens is not among them. I've been baking my noodle over this all morning. Can someone tell me what exactly this error indicates?
0 comments:
Post a Comment