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

support Test Explorer - Colored Output #1267

Open
pmunin opened this issue Mar 4, 2025 · 0 comments
Open

support Test Explorer - Colored Output #1267

pmunin opened this issue Mar 4, 2025 · 0 comments

Comments

@pmunin
Copy link

pmunin commented Mar 4, 2025

I have the following test:

Deno.test("output should be colored!", (t)=>{
  console.debug(`%cTerm: ${Deno.env.get('TERM')}. stdout.isTerminal: ${(Deno.stdout.isTerminal())}. noColor:${Deno.noColor}`, "color: red");
})

When I run it via code lense - It opens the terminal and show output in red color:

Image

However, when I run it from Test explorer - I get boring plain white test output, with no coloring:

Image

Image

Can you please support Colored output from Test Explorer, same way it works in terminal?

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

1 participant