-
Notifications
You must be signed in to change notification settings - Fork 108
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
Unable to look up source error #147
Comments
yeah, you probably just mount the tests, right? So the docker container
does not have access to the `ui/components` folder
…On Wed, Mar 4, 2020 at 12:22 PM Duncan Anderson ***@***.***> wrote:
When I click on a file in the coverage report I get an error indicating
Error: Unable to lookup source:
/var/www/ui/components/booking/agenda/ActivityContainer.jsx(ENOENT: no such
file or directory
We use docker to run our application locally. I am wondering if I need to
mount the coverage or NYC folders in order for this data to be accessible?
I have attached a screenshot if the output
[image: Screen Shot 2020-03-04 at 9 21 26 AM]
<https://user-images.githubusercontent.com/49245425/75905340-8baf9000-5df9-11ea-920a-bd4fa28c18e9.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#147?email_source=notifications&email_token=AAQ4BJXMMZBQMVWVUKAQUO3RF2E4DA5CNFSM4LBODLF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ISO4W5Q>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ4BJWAMPIQKMF6CPQO56TRF2E4DANCNFSM4LBODLFQ>
.
--
Dr. Gleb Bahmutov, PhD
Schedule video chat / phone call / meeting with me via
https://calendly.com/bahmutov
[email protected] @bahmutov <https://twitter.com/@bahmutov>
https://glebbahmutov.com/ https://glebbahmutov.com/blog
https://github.com/bahmutov
|
I have the same issue—right now I'm running:
Which is essentially running a container instance and then generating a coverage report in the container which then because it's mounted then gets transferred to the host. This is a workaround that works for me right now. But the problem isn't that we're just mounting the tests. The problem (which I'm assuming is the same as @3590Duncan) is that the generated coverage report has paths like |
Idea: if the source paths in |
🎉 This issue has been resolved in version 3.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This looks like it works on my end after running within the CI environment instead of the container (much easier) and testing it with my Dockerized app. Thank you for adding this feature! |
Maybe this has to do with checking if all the files are missing? |
Update: This also seems to happen wen having multiple test files not just running the tests twice... |
When I click on a file in the coverage report I get an error indicating
Error: Unable to lookup source: /var/www/ui/components/booking/agenda/ActivityContainer.jsx(ENOENT: no such file or directory
We use docker to run our application locally. I am wondering if I need to mount the coverage or NYC folders in order for this data to be accessible?
I have attached a screenshot if the output
The text was updated successfully, but these errors were encountered: