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): always run build before running tests #493

Merged
merged 1 commit into from Feb 5, 2020

Conversation

agilgur5
Copy link
Collaborator

@agilgur5 agilgur5 commented Feb 5, 2020

  • personally, I often forget to yarn build before yarn test and that
    means I'm testing stale changes
    • would be good to have a way to run jest --watch, but that would
      optimally require programmatic access to the CLI engine, which
      needs some refactoring

Alternative to #492 . Please read that issue for more on test perf improvements we can make to TSDX.

This isn't as robust as #492 but is significantly faster and works the same way as yarn lint.

- personally, I often forget to yarn build before yarn test and that
  means I'm testing stale changes
  - would be good to have a way to run jest --watch, but that would
    optimally require programmatic access to the CLI engine, which
    needs some refactoring
@swyxio swyxio merged commit df22fe3 into jaredpalmer:master Feb 5, 2020
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.

None yet

2 participants