mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 13:14:48 +00:00
This reverts commit f75bd89aff
.
This commit is contained in:
parent
5bed06fb94
commit
81635c59e6
3 changed files with 12 additions and 23 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
((window) => {
|
||||
const core = window.Deno.core;
|
||||
const colors = window.__bootstrap.colors;
|
||||
const { gray, green, italic, red, yellow } = window.__bootstrap.colors;
|
||||
const { exit } = window.__bootstrap.os;
|
||||
const { Console, inspectArgs } = window.__bootstrap.console;
|
||||
const { stdout } = window.__bootstrap.files;
|
||||
|
@ -19,8 +19,6 @@
|
|||
}
|
||||
|
||||
function formatDuration(time = 0) {
|
||||
const gray = colors.maybeColor(colors.gray);
|
||||
const italic = colors.maybeColor(colors.italic);
|
||||
const timeStr = `(${time}ms)`;
|
||||
return gray(italic(timeStr));
|
||||
}
|
||||
|
@ -141,9 +139,6 @@ finishing test case.`;
|
|||
}
|
||||
|
||||
function reportToConsole(message) {
|
||||
const green = colors.maybeColor(colors.green);
|
||||
const red = colors.maybeColor(colors.red);
|
||||
const yellow = colors.maybeColor(colors.yellow);
|
||||
const redFailed = red("FAILED");
|
||||
const greenOk = green("ok");
|
||||
const yellowIgnored = yellow("ignored");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue