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

jest-runtime: expose inner error when it fails to write cache #3373

Merged
merged 2 commits into from
Apr 26, 2017

Conversation

jeanlauliac
Copy link
Contributor

Summary

We are encountering some errors on our CI machines, but the error message is not clear about the exact reason making it impossible to write the cache file. This changeset aims to expose the inner error message, that includes the errno code, that could be for example EACCESS or ENOENT.

Test plan

Automated testing.

@cpojer cpojer merged commit dfcc4b2 into jestjs:master Apr 26, 2017
cpojer pushed a commit that referenced this pull request Apr 26, 2017
* jest-runtime: expose inner error when it fails to write cache

* Update transform.js
cpojer pushed a commit that referenced this pull request Apr 26, 2017
* jest-runtime: expose inner error when it fails to write cache

* Update transform.js
cpojer pushed a commit that referenced this pull request Apr 26, 2017
* jest-runtime: expose inner error when it fails to write cache

* Update transform.js
@codecov-io
Copy link

Codecov Report

Merging #3373 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3373   +/-   ##
=======================================
  Coverage   64.89%   64.89%           
=======================================
  Files         176      176           
  Lines        6521     6521           
  Branches        4        4           
=======================================
  Hits         4232     4232           
  Misses       2288     2288           
  Partials        1        1
Impacted Files Coverage Δ
packages/jest-runtime/src/transform.js 89.4% <0%> (ø) ⬆️

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 005ac8c...4a1f398. Read the comment docs.

tushardhole pushed a commit to tushardhole/jest that referenced this pull request Aug 21, 2017
…#3373)

* jest-runtime: expose inner error when it fails to write cache

* Update transform.js
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants