angular-cn/packages/common/test
Pete Bacon Darwin 7e8eec57f0 refactor(common): move the low level locale registering to core (#33523)
To limit the exposure of the private `LOCALE_DATA` from outside
`@angular/core` this commit exposes private functions in the core
to hide the internal structures better.

* The `registerLocaleData()` implementation has moved from
`@angular/common` to `@angular/core`. A stub that delegates to
core has been left in common for backward compatibility.
* A new `ɵunregisterLocaleData()` function has been provided,
which is particularly useful in tests to clear out registered locales
to prevent subsequent tests from being affected.
* A private export of `ɵregisterLocaleData()` has been removed
from `@angular/common`. This was not being used and is accessible
via `@angular/core` anyway.

PR Close #33523
2019-11-05 17:26:59 +00:00
..
directives refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
i18n refactor(common): move the low level locale registering to core (#33523) 2019-11-05 17:26:59 +00:00
location feat(common): provide replacement for AngularJS $location service (#30055) 2019-04-24 13:49:29 -07:00
pipes refactor(common): move the low level locale registering to core (#33523) 2019-11-05 17:26:59 +00:00
BUILD.bazel feat(common): add ability to retrieve the state from Location service (#30055) 2019-04-24 13:49:28 -07:00
cookie_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
viewport_scroller_spec.ts fix(common): escape query selector used when anchor scrolling (#29577) 2019-03-29 10:39:38 -07:00