MCPcopy
hub / github.com/angular/components / configure

Function configure

src/material/button/button.spec.ts:492–496  ·  view source on GitHub ↗
(defaults: MatFabDefaultOptions)

Source from the content-addressed store, hash-verified

490
491describe('MatFabDefaultOptions', () => {
492 function configure(defaults: MatFabDefaultOptions) {
493 TestBed.configureTestingModule({
494 providers: [{provide: MAT_FAB_DEFAULT_OPTIONS, useValue: defaults}],
495 });
496 }
497
498 it('should override default color in component', () => {
499 configure({color: 'primary'});

Callers 1

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