angular-docs-cn/tools/public_api_guard/core
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
..
index.d.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
testing.d.ts feat(core): update public api 2016-08-17 08:06:32 -07:00