MCPcopy Create free account
hub / github.com/angular/components / configure

Function configure

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

Source from the content-addressed store, hash-verified

1185describe('MatCheckboxDefaultOptions', () => {
1186 describe('when MAT_CHECKBOX_DEFAULT_OPTIONS overridden', () => {
1187 function configure(defaults: MatCheckboxDefaultOptions) {
1188 TestBed.configureTestingModule({
1189 providers: [{provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: defaults}],
1190 });
1191 }
1192
1193 it('should override default color in component', () => {
1194 configure({color: 'primary'});

Callers 1

checkbox.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected