MCPcopy
hub / github.com/chartjs/Chart.js / core.registry.tests.js

File core.registry.tests.js

test/specs/core.registry.tests.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1describe('Chart.registry', function() {
2 it('should handle an ES6 controller extension', function() {
3 class CustomController extends Chart.DatasetController {}
4 CustomController.id = 'custom';

Callers

nothing calls this directly

Calls 14

removeControllersMethod · 0.80
removeScalesMethod · 0.80
removeElementsMethod · 0.80
removePluginsMethod · 0.80
registerMethod · 0.65
getControllerMethod · 0.65
unregisterMethod · 0.65
getScaleMethod · 0.65
getElementMethod · 0.65
getPluginMethod · 0.65
addControllersMethod · 0.65
addScalesMethod · 0.65

Tested by

no test coverage detected