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

Add npm script for running the test suite in a debugger #3415

Merged

Conversation

markmatney
Copy link
Contributor

I found this to be pretty indispensable when I was modifying the test suite, so I figure others might find it useful too. Lifted from https://artsy.github.io/blog/2018/08/24/How-to-debug-jest-tests/.

@codecov-io
Copy link

Codecov Report

Merging #3415 (7cc8709) into master (1b7e702) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3415   +/-   ##
=======================================
  Coverage   88.96%   88.96%           
=======================================
  Files         196      196           
  Lines        3399     3399           
=======================================
  Hits         3024     3024           
  Misses        375      375           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b7e702...7cc8709. Read the comment docs.

Copy link
Member

@camillevilla camillevilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks useful to me, @markmatney. Thanks for contributing.

@camillevilla camillevilla merged commit b51faee into ProjectMirador:master Apr 14, 2021
@markmatney markmatney deleted the npm-scripts-test-debug branch April 15, 2021 00:06
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.

3 participants