Skip to content

Commit

Permalink
tests: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Jan 5, 2021
1 parent a2a1c73 commit 193e1e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/editors/__tests__/dateEditor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ describe('DateEditor', () => {
});

describe('with different locale', () => {
it('should display a console warning when locale it not previously imported', (done) => {
it('should display a console warning when locale is not previously imported', (done) => {
const consoleSpy = jest.spyOn(global.console, 'warn').mockReturnValue();

gridOptionMock.translater = translateService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ describe('CompoundDateFilter', () => {
expect(selectonOptionElms[0].textContent).toBe('janvier');
});

it('should display a console warning when locale it not previously imported', (done) => {
it('should display a console warning when locale is not previously imported', (done) => {
const consoleSpy = jest.spyOn(global.console, 'warn').mockReturnValue();

translateService.use('zz-yy'); // will be trimmed to 2 chars "zz"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ describe('DateRangeFilter', () => {
expect(selectonOptionElms[0].textContent).toBe('janvier');
});

it('should display a console warning when locale it not previously imported', (done) => {
it('should display a console warning when locale is not previously imported', (done) => {
const consoleSpy = jest.spyOn(global.console, 'warn').mockReturnValue();

translateService.use('zz-yy'); // will be trimmed to 2 chars "zz"
Expand Down

0 comments on commit 193e1e4

Please sign in to comment.