angular-cn/packages/common/test/pipes
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
..
async_pipe_spec.ts refactor: Move `dom_adapter.ts` to `@angular/common` (#32154) 2019-08-29 21:51:56 -07:00
case_conversion_pipes_spec.ts fix(common): titlecase pipe (#22600) 2018-03-23 13:42:51 -04:00
date_pipe_spec.ts refactor(common): move the low level locale registering to core (#33523) 2019-11-05 17:26:59 +00:00
i18n_plural_pipe_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
i18n_select_pipe_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
json_pipe_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
keyvalue_pipe_spec.ts refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
number_pipe_spec.ts refactor(common): move the low level locale registering to core (#33523) 2019-11-05 17:26:59 +00:00
slice_pipe_spec.ts feat(common): stricter types for SlicePipe (#30156) 2019-05-17 14:21:36 -07:00