Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] test refactor/cleanup #76

Open
bradtaniguchi opened this issue Jun 5, 2024 · 0 comments
Open

[chore] test refactor/cleanup #76

bradtaniguchi opened this issue Jun 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bradtaniguchi
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

When testing locally the suite relies on the built source code, which includes both the src+test+mappings and even sometimes some nested source (like dist/dist?)

Also, during testing there appears to be a number of warnings/errors and coverage flags. 100% coverage is often over-rated, but its worth looking into as a last step after cleaning up what is getting flagged.

Describe the solution you'd like

I can think of a few approaches:

  • utilize babel + typescript + jest to allow jest to directly test the generated TS code. Means more tooling though (see here
  • use ts-jest (see link above), but I've found startup times to be slow out of the box, might need tweaking
  • stick with the current pattern, but clean up the compile step (for testing+production builds), might be done after chore: update dx #75
@bradtaniguchi bradtaniguchi added the enhancement New feature or request label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant