cypress-angular-unit-test icon indicating copy to clipboard operation
cypress-angular-unit-test copied to clipboard

ng8 support and dependencies

Open castrinho opened this issue 3 years ago • 4 comments

I'm using ng8 and I'm having several issues when trying to set up the components tests. The latest error is related to jasmine.js, can't understand where this dependency is being set. Is there any example using ng8 so that I can see the dependencies required to set up the project?

castrinho avatar Aug 31 '21 20:08 castrinho

Hi @castrinho ! Can you give us more information ? logs, errors, versions. A reproductible example would be welcome !

LeJeanbono avatar Aug 31 '21 22:08 LeJeanbono

Hi @LeJeanbono! Thanks for the quick reply. I created a repository where you can reproduce the error, https://github.com/castrinho/cyct. I created the app.component.cy-spec.ts file with the test code and I'm executing cypress running the command cyct that is defined in the package.json file. Cypress starts and displays this test but then when trying to run it I get the jasmine.js error. Hope that you can take a look into it and can find what I'm doing wrong. Thanks!

castrinho avatar Sep 02 '21 19:09 castrinho

Nice, I will take a look :)

LeJeanbono avatar Sep 03 '21 09:09 LeJeanbono

@LeJeanbono Hi! Did you have the chance to take a look into this? Let me know if you need additional info from my side.

castrinho avatar Sep 21 '21 07:09 castrinho