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.