cypress-angular-unit-test
cypress-angular-unit-test copied to clipboard
ng8 support and dependencies
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?
Hi @castrinho ! Can you give us more information ? logs, errors, versions. A reproductible example would be welcome !
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!
Nice, I will take a look :)
@LeJeanbono Hi! Did you have the chance to take a look into this? Let me know if you need additional info from my side.