summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2024-02-12 14:35:23 +0100
committerGitHub <noreply@github.com>2024-02-12 14:35:23 +0100
commitbd1358efab8ba7339a8e70034315fa7da840292e (patch)
treef29f366cbff49cdf0bfab697dcde4fb94ff7a09d /tests/testdata
parent80d5ffbe7c4109229571bf94182cf3f40397795e (diff)
fix(console): support NO_COLOR and colors option in all scenarios (#21910)
Noticed in #21607
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/run/inspect_color_overwrite.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testdata/run/inspect_color_overwrite.ts b/tests/testdata/run/inspect_color_overwrite.ts
new file mode 100644
index 000000000..e1e991d87
--- /dev/null
+++ b/tests/testdata/run/inspect_color_overwrite.ts
@@ -0,0 +1,5 @@
+console.log(
+ Deno[Deno.internal].inspectArgs(["%cfoo%cbar", "", "color: red"], {
+ colors: true,
+ }),
+);