MCPcopy
hub / github.com/plotly/plotly.js / checkTypes

Function checkTypes

test/jasmine/tests/axes_test.js:214–217  ·  view source on GitHub ↗
(xType, yType, msg)

Source from the content-addressed store, hash-verified

212 }
213
214 function checkTypes(xType, yType, msg) {
215 expect(layoutOut.xaxis.type).toBe(xType, msg);
216 expect(layoutOut.yaxis.type).toBe(yType, msg);
217 }
218
219 it('treats booleans as categories', function() {
220 supplyWithTrace({x: [0, 1, 2], y: [true, false, true]});

Callers 1

axes_test.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…