Skip to content

Commit

Permalink
test(igx-grid): Add locales for de-DE, #3455
Browse files Browse the repository at this point in the history
  • Loading branch information
sstoyanovIG committed Dec 20, 2018
1 parent ea77fd4 commit b86c8f7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import { SortingDirection } from '../../data-operations/sorting-expression.inter
import { DefaultSortingStrategy } from '../../data-operations/sorting-strategy';
import { IgxGridHeaderGroupComponent } from '../grid-header-group.component';
import { changei18n, getCurrentResourceStrings } from '../../core/i18n/resources';
import { registerLocaleData } from '@angular/common';
import localeDE from '@angular/common/locales/de';

const FILTER_UI_ROW = 'igx-grid-filtering-row';

Expand Down Expand Up @@ -2755,6 +2757,7 @@ describe('IgxGrid - Filtering Row UI actions', () => {

it('should correctly apply locale to datePicker.', fakeAsync(() => {
const fix = TestBed.createComponent(IgxGridFilteringMCHComponent);
registerLocaleData(localeDE);
fix.detectChanges();

const grid = fix.componentInstance.grid;
Expand Down

0 comments on commit b86c8f7

Please sign in to comment.