question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`jest --changedSince=blablabla` crashes

See original GitHub issue

🐛 Bug Report

Running jest --changedSince=blablabla (as long as blablabla is not a branch/tag/commit (anything that’s not a valid reference)) crashes with an unhandled rejection.

To Reproduce

Steps to reproduce the behavior: jest --changedSince=some-bad-revision

Expected behavior

A clean error saying that the reference was impossible to resolve, or something. Probably just show the error from git is best

Link to repl or repo (highly encouraged)

N/A, can be reproduced in any repo with VCS (including the jest repo itself).

Run npx envinfo --preset jest

Paste the results here:

Environment:
  OS: macOS High Sierra 10.13.6
  Node: 8.11.1
  Yarn: 1.9.4
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 9.1 Build version 9B55
  Android Studio: EAP AI-145.3111935 AI-145.3111935

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Keraitocommented, Oct 6, 2018

Sorry @SimenB @rogeliog, suddenly couldn’t quite find the time to work on this, so @khuyn003 go ahead.

1reaction
natealcedocommented, Oct 5, 2018

For whoever is picking this issue up, Id recommend handling both scenarios where a user uses git and when a user uses mercurial.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jest and the `--changedSince` flag in GitHub Actions CI
Today I worked through getting Jest's `--changedSince` flag working on GitHub Actions CI. Let's dig into why, what happened, and how each of ......
Read more >
Reviews | Lime Ears
Cymbals crash with confidence and shimmer with grace, snare hits bang without the slightest ... has changed since then to a more mid-centric...
Read more >
25 Funny & Amazing Polish Idioms That Everybody Should Use
Welcome to our Urban Dictionary of Polish Idioms! Freshen up your conversations with the funniest and weirdest Polish idioms with English translation ...
Read more >
Talk:Phineas Gage/Archive 1 - Wikipedia
My version [10] -- Jumbolino doesn't like two images in the lead. · My new friend's version [11] -- the problem being that...
Read more >
jest crash on compile due to json - Stack Overflow
Backstory on the problem: Hi I have a react code that npm start works on but npm test doesn't and I have a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found