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 Test in JavaScript #108

Merged
merged 6 commits into from
Dec 11, 2023
Merged

Write Test in JavaScript #108

merged 6 commits into from
Dec 11, 2023

Conversation

threeal
Copy link
Owner

@threeal threeal commented Dec 11, 2023

This pull request introduces the following changes for migrating test to use JavaScript:

  • Map imported module in the test files to use distribution files.
  • Modify the test command to run tsc before testing.
  • Remove ts-jest and other related packages from the dependency.
  • Convert test files to JavaScript files.
  • Remove testMatch option from the Jest configuration file.
  • Remove tsconfig.eslint.json in favor of using just tsconfig.json.
  • Remove test files exclusion in the tsconfig.json because the test files no longer in TypeScript.
  • Modify workflow so that the --experimental-vm-modules node options only be set on Test Package step.

It closes #107.

@threeal threeal added the test label Dec 11, 2023
@threeal threeal added this to the Version 2.0.0 milestone Dec 11, 2023
@threeal threeal self-assigned this Dec 11, 2023
@threeal threeal marked this pull request as ready for review December 11, 2023 12:37
@threeal threeal merged commit 96089ee into main Dec 11, 2023
15 checks passed
@threeal threeal deleted the test-in-javascript branch December 11, 2023 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write Tests in JavaScript
1 participant