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

Write Tests in JavaScript #218

Closed
threeal opened this issue Nov 30, 2023 · 0 comments · Fixed by #221
Closed

Write Tests in JavaScript #218

threeal opened this issue Nov 30, 2023 · 0 comments · Fixed by #221
Assignees
Milestone

Comments

@threeal
Copy link
Owner

threeal commented Nov 30, 2023

This issue proposes a shift to writing testing files in JavaScript for this template. Doing so has several advantages, making the examples in the template simpler:

  • Eliminates the dependency on ts-jest.
  • Enables direct testing of distribution files instead of solely the source files.
  • Removes the separation between the main tsconfig and ESLint's tsconfig.

Moreover, testing doesn't inherently require TypeScript, as the package should be usable with or without TypeScript. Therefore, the testing should reflect the evaluation of the JavaScript part of the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant