MCPcopy Index your code
hub / github.com/cli-table/cli-table3 / testExample

Function testExample

lib/print-example.js:75–79  ·  view source on GitHub ↗
(name, fn, expected)

Source from the content-addressed store, hash-verified

73 */
74function runTest(name, fn) {
75 function testExample(name, fn, expected) {
76 it(name, function () {
77 expect(fn().toString()).toEqual(expected.join('\n'));
78 });
79 }
80
81 describe(name, function () {
82 fn(testExample, identity);

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.80
itFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…