graasp / graasp/client

Cypress does not work well with new tsconfig.app.json

Open
#378 0 comments 0 reactions 0 assignees View on GitHub
dependencies
Dominant language
TypeScript
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Cypress and webpack are having issues with the new multi Ts-config setup proposed in recent vite projects.

We have to add `module: EsNext` in the `tsconfig.json` at the root for it to compile to ESM... otherwise the cypress.config.ts is compiled to CJS...

We can not use path imports as they are not picked up by webpack when bundling the tests ... this is very annoying as it is not correctly marked by typescript when writing the tests ...

We should consider moving to a different framework maybe.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.