Tests

Integration Tests

For hubble PWA is a Nuxt 3 Module, it uses @nuxt/test-utilsopen in new window for testing.
Test-related files are placed in __tests__ Run module integration tests:

npm run test:integration

WARNING

Don't forget to place a valid .env file into __tests__/module/fixture

End-To-End Tests

As long as Nuxt doesn't support tests that require a client or real browser, those are tested via Cypressopen in new window.

Run module e2e tests:

npm run test:e2e