MCPcopy Create free account
hub / github.com/denoland/std / createHeader

Function createHeader

assert/equals_test.ts:12–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10} from "@std/internal/styles";
11
12function createHeader(): string[] {
13 return [
14 "",
15 "",
16 ` ${gray(bold("[Diff]"))} ${red(bold("Actual"))} / ${
17 green(
18 bold("Expected"),
19 )
20 }`,
21 "",
22 "",
23 ];
24}
25
26function added(s: string): string {
27 return green(bold(stripAnsiCode(s)));

Callers 1

fnFunction · 0.70

Calls 4

grayFunction · 0.90
boldFunction · 0.90
redFunction · 0.90
greenFunction · 0.90

Tested by

no test coverage detected