MCPcopy Create free account
hub / github.com/plotly/plotly.js / log

Function log

tasks/test_syntax.js:277–285  ·  view source on GitHub ↗
(name, logs)

Source from the content-addressed store, hash-verified

275}
276
277function log(name, logs) {
278 if(logs.length) {
279 console.error('test-syntax error [' + name + ']');
280 console.error(logs.join('\n'));
281 EXIT_CODE = 1;
282 } else {
283 console.log('ok ' + name);
284 }
285}
286
287process.on('exit', function() {
288 if(EXIT_CODE) {

Callers 5

assertJasmineSuitesFunction · 0.85
assertSrcContentsFunction · 0.85
assertFileNamesFunction · 0.85
assertTrailingNewLineFunction · 0.85
assertCircularDepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected