MCPcopy Index your code
hub / github.com/angular/components / configure

Function configure

src/material/checkbox/checkbox.spec.ts:1131–1135  ·  view source on GitHub ↗
(defaults: MatCheckboxDefaultOptions)

Source from the content-addressed store, hash-verified

1129describe('MatCheckboxDefaultOptions', () => {
1130 describe('when MAT_CHECKBOX_DEFAULT_OPTIONS overridden', () => {
1131 function configure(defaults: MatCheckboxDefaultOptions) {
1132 TestBed.configureTestingModule({
1133 providers: [{provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: defaults}],
1134 });
1135 }
1136
1137 it('should override default color in component', () => {
1138 configure({color: 'primary'});

Callers 1

checkbox.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…