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

cli: thread 'main' panicked at 'called Result::unwrap() when using deno coverage #14094

Closed
apollo79 opened this issue Mar 23, 2022 · 4 comments
Closed

Comments

@apollo79
Copy link

Steps to reproduce:

deno test --coverage=cov_profile
deno coverage cov_profile

Error:

Platform: windows x86_64
Version: 1.20.1
Args: ["C:\\Users\\xxxxx\\.deno\\bin\\deno.exe", "coverage", "cov_profile"]

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: BadJson(Error("invalid unicode code point", line: 1, column: 21489))', cli\tools\coverage\mod.rs:173:57   
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@bartlomieju
Copy link
Member

Do you have emojis in your code that's being covered?

@apollo79
Copy link
Author

apollo79 commented Mar 23, 2022

Do you have emojis in your code that's being covered?

As comment, yes. Is there a issue with it?

@apollo79
Copy link
Author

OK, I removed the smiley in the comment and tried it again. It works without it. 👍

@bartlomieju
Copy link
Member

Yes, it's a known issue #10936 waiting on upstream fix

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

No branches or pull requests

2 participants