You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #6202 on March 11, 2021 13:42.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have created hasManyThrough relation for 2 model
Like: this.repository.operations(id).create(operation);
I am able to create operation and relation for it. But when I am trying to write test cases for those methods having issues.
repository.stubs.create.resolves('test');
can anyone help me to create stub for
this.repository.operations(id).create(operation);
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions