MCPcopy Create free account
hub / github.com/angular/angular / Cmp

Class Cmp

packages/core/test/acceptance/di_spec.ts:282–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280
281 expect(() => {
282 @Component({
283 template: '',
284 // The double array here is necessary to escape the compile-time error, via Provider's
285 // `any[]` option.
286 providers: [[importProvidersFrom(Module)]],
287 standalone: false,
288 })
289 class Cmp {}
290
291 TestBed.createComponent(Cmp);
292 }).toThrowError(/NG0207/);

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
importProvidersFromFunction · 0.90

Tested by

no test coverage detected