angular-docs-cn/modules/@angular/core/test
Tobias Bosch 00b726f695 refactor(core): introduce `NgModule.schemas`
This allows Angular to error on unknown properties,
allowing applications that don’t use custom elements
to get better error reporting.

Part of #10043

BREAKING CHANGE:
- By default, Angular will error during parsing
  on unknown properties,
  even if they are on elements with a `-` in their name
  (aka custom elements). If you application is using
  custom elements, fill the new parameter `@NgModule.schemas`
  with the value `[CUSTOM_ELEMENTS_SCHEMA]`.

  E.g. for bootstrap:
  ```
  bootstrap(MyComponent, {schemas: [CUSTOM_ELEMENTS_SCHEMA]});
  ```
2016-07-26 07:04:36 -07:00
..
animation chore(tests): enable lint, make it green. (#10224) 2016-07-21 17:12:00 -07:00
change_detection chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
debug fix(testing): correctly import NgMatchers (#10077) 2016-07-22 09:20:51 -07:00
di chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
dom chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
facade chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
linker refactor(core): introduce `NgModule.schemas` 2016-07-26 07:04:36 -07:00
metadata chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
reflection chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
testability chore(tests): enable lint, make it green. (#10224) 2016-07-21 17:12:00 -07:00
util chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
zone chore(tests): enable lint, make it green. (#10224) 2016-07-21 17:12:00 -07:00
application_ref_spec.ts refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
dev_mode_spec.ts fix(testing): remove deprecated testing APIs (#9923) 2016-07-11 16:04:32 -07:00
directive_lifecycle_integration_spec.ts chore(tests): enable lint, make it green. (#10224) 2016-07-21 17:12:00 -07:00
fake_async_spec.ts refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
forward_ref_integration_spec.ts fix(testing): correctly import NgMatchers (#10077) 2016-07-22 09:20:51 -07:00
spies.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
testing_internal_spec.ts chore(tests): enable lint, make it green. (#10224) 2016-07-21 17:12:00 -07:00