MCPcopy
hub / github.com/Marak/colors.js / aE

Function aE

tests/basic-test.js:10–16  ·  view source on GitHub ↗
(s, color, code)

Source from the content-addressed store, hash-verified

8}
9
10function aE(s, color, code) {
11 assert.equal(s[color], a(s, code));
12 assert.equal(colors[color](s), a(s, code));
13 assert.equal(s[color], colors[color](s));
14 assert.equal(s[color].strip, s);
15 assert.equal(s[color].strip, colors.strip(s));
16}
17
18var stylesColors = ['white', 'black', 'blue', 'cyan', 'green', 'magenta',
19 'red', 'yellow', 'brightYellow', 'brightRed',

Callers 1

basic-test.jsFile · 0.70

Calls 1

aFunction · 0.70

Tested by

no test coverage detected