angular-docs-cn/modules/angular2/test
vsavkin 42231f5719 feat(change_detection): allow all legal programs in the dev mode
BEFORE:

The following would throw in the dev mode because `f` would return a new array when called by checkNoChanges.

@Component({
  template: `
    {{f()}}
  `
})
class A {
  f() { return [1]; }
}

AFTER:

The checkNoChanges function compares only primitives types for equality, and deeply compares iterables. Other objects cannot cause checkNoChanges to throw. This means that the dev mode would never fail given a legal program, but may allow some illegal programs.
2016-01-26 21:01:19 -08:00
..
animate Revert "fix(animate): ensure transition properties are removed once the animation is over" 2015-12-11 13:13:11 -08:00
common refactor(test): Remove unnecessary `noSuchMethod` 2016-01-15 22:53:09 +00:00
compiler chore(core): deactivate the tests that use Dart isolates 2016-01-25 17:20:06 -08:00
core feat(change_detection): allow all legal programs in the dev mode 2016-01-26 21:01:19 -08:00
facade docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
http refactor(http): rename enums to be singular 2015-12-04 19:16:00 +00:00
mock docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
platform refactor(test): Remove unnecessary `noSuchMethod` 2016-01-15 22:53:09 +00:00
router refactor(test): Remove unnecessary `noSuchMethod` 2016-01-15 22:53:09 +00:00
symbol_inspector fix(public_spec): check exports of barrels instead of angular2/angular2 2015-12-11 13:05:52 -08:00
testing fix(testing): remove test zone for now and rely on returned promises 2016-01-22 00:28:48 +00:00
upgrade feat(test): allow tests to specify the platform and application providers used 2016-01-13 02:11:06 +00:00
web_workers refactor(test): Remove unnecessary `noSuchMethod` 2016-01-15 22:53:09 +00:00
dev_mode_spec.ts test: add a test verifying that the tests are run in the checked mode 2015-12-02 11:29:11 -08:00
public_api_spec.ts fix(Dart): make some playground samples run with Dart Dev Compiler 2016-01-21 00:41:42 +00:00