abundant-gold-84344
07/07/2022, 2:08 PMexport const isSuccess = (res) => res._tag === "Success";
When i try to stub this method like below, its not working.
cy.stub(Res, "isSuccess").returns(true);
But if i create this method inside my project src and try to stub, its working.
So, Can't cypress stub things from library files which are imported in components?