angular-docs-cn/modules/@angular/compiler/test/schema
Victor Savkin c631cfc2fd feat(core): add NO_ERRORS_SCHEMA that allows any properties to be set on any element (#10956)
Often it is useful to test a component without rendering certain directives/components
in its template because these directives require some complicated setup.

You can do that by using NO_ERRORS_SCHEMA.

TestBed.configureTestingModule({
  schemas: [NO_ERRORS_SCHEMA]
});

This would disable all schema checks in your tests.
2016-08-19 16:05:34 -07:00
..
dom_element_schema_registry_spec.ts feat(core): add NO_ERRORS_SCHEMA that allows any properties to be set on any element (#10956) 2016-08-19 16:05:34 -07:00
schema_extractor.ts refactor(compiler): use Object.keys instead of Object.getOwnPropertyNames (#10498) 2016-08-04 10:35:41 -07:00