MCPcopy Index your code
hub / github.com/plotly/plotly.js / assertUpdateObj

Function assertUpdateObj

test/jasmine/tests/annotations_test.js:323–327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

321 var updateObj = { 'annotations[0].text': 'hello' };
322
323 function assertUpdateObj() {
324 // w/o mutating relayout update object
325 expect(Object.keys(updateObj)).toEqual(['annotations[0].text']);
326 expect(updateObj['annotations[0].text']).toEqual('hello');
327 }
328
329 assertText(0, 'left top');
330

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…