bahmutov / bahmutov/cypress-angular-unit-test
Not able to use with Cypress 7
- Dominant language
- TypeScript
- Stars
- 160
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
### Current behavior
I was following the README to setup Angular component test with Cypress 7 but having an issue with cypress/plugins/index.js after pasting the suggested configuration in there
Error: _SyntaxError: Cannot use import statement outside a module\n_
### Test code to reproduce
Link to the repo to reproduce: https://github.com/Postavshik/ngx-cypress-test/tree/componentTest
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the README's Angular component test setup and the cypress/plugins/index.js configuration mentioned in the report. Use the linked reproduction repository with Cypress 7 to investigate the import error; done means the suggested setup loads without the module syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, cypress, javascript
- Domain
- frontend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100