-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceHelp WantedMore Contributions are AppreciatedMore Contributions are Appreciated
Milestone
Description
I've been trying to setup Jest for unit testing.
Attempt: #159
I haven't been able so far. It seems it's not supported yet.
I think we should be able to write three types of tests:
- Unit testing (the one I was trying to setup. I wanted to add tests for the sanitizer functions)
- Integration (or whatever you wan to call them) where you can mount vue components, mock API requests, etcetera.
- E2E tests. The one I've already set up with cypress and you can run with
npm run cypress:run
Notes
- Cypress Component Testing works with Nuxt 2. Nuxt 3 is not yet supported.
Links
Metadata
Metadata
Assignees
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceHelp WantedMore Contributions are AppreciatedMore Contributions are Appreciated
Type
Projects
Status
Help Wanted