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

Function isJasmineBase

tasks/util/common.js:99–109  ·  view source on GitHub ↗
(block, node, tag)

Source from the content-addressed store, hash-verified

97};
98
99function isJasmineBase(block, node, tag) {
100 return (
101 node.type === 'Literal' &&
102 node.parent &&
103 node.parent.type === 'CallExpression' &&
104 node.parent.callee &&
105 node.parent.callee.type === 'Identifier' &&
106 node.parent.callee.name === block &&
107 (tag === undefined || exports.hasJasmineTestTag(node, tag))
108 );
109}
110
111exports.isJasmineTestIt = function (node, tag) {
112 return isJasmineBase('it', node, tag);

Callers 1

common.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…