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

test: improve test setup #339

Merged
merged 8 commits into from
Apr 17, 2023
Merged

test: improve test setup #339

merged 8 commits into from
Apr 17, 2023

Conversation

MartinKolarik
Copy link
Member

Adds:

  • type checking for the test files (npm run test:mocha) - used in the CI
    • npm run test:mocha:dev is available to run faster without type checking
  • download:jsons and husky run in a prepare script and do not require a previous build (uses tsx)
  • dev uses tsx
  • a new test, which only runs on CI by default, validates that code in dist actually runs and doesn't fail within the first 10 seconds (Update tests to catch cjs compilation errors #231)

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

Successfully merging this pull request may close these issues.

2 participants