MCPcopy Create free account
hub / github.com/angular/angular / roTests

Function roTests

packages/common/test/i18n/localization_spec.ts:28–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27 describe('NgLocalization', () => {
28 function roTests() {
29 it('should return plural cases for the provided locale', inject(
30 [NgLocalization],
31 (l10n: NgLocalization) => {
32 expect(l10n.getPluralCategory(0)).toEqual('few');
33 expect(l10n.getPluralCategory(1)).toEqual('one');
34 expect(l10n.getPluralCategory(1212)).toEqual('few');
35 expect(l10n.getPluralCategory(1223)).toEqual('other');
36 },
37 ));
38 }
39
40 describe('ro', () => {
41 beforeEach(() => {

Callers 1

Calls 3

injectFunction · 0.90
itFunction · 0.50
getPluralCategoryMethod · 0.45

Tested by

no test coverage detected