Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendell committed Feb 2, 2019
1 parent 16fb6f6 commit 38497ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions components/empty/nz-empty.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { By } from '@angular/platform-browser';

import { NzI18nService } from '../i18n';
import en_US from '../i18n/languages/en_US';
import zh_CN from '../i18n/languages/zh_CN';
import { NzListModule } from '../list';

import { NzEmbedEmptyComponent } from './nz-embed-empty.component';
Expand Down Expand Up @@ -120,8 +119,6 @@ describe('nz-empty', () => {
testBed.get(NzI18nService).setLocale(en_US);
fixture.detectChanges();
expect(contentEl.innerText.trim()).toBe('No Data');

testBed.get(NzI18nService).setLocale(zh_CN);
});
});

Expand Down
1 change: 0 additions & 1 deletion components/table/nz-table.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ describe('nz-table', () => {
expect(table.nativeElement.querySelector('.ant-table-placeholder').innerText.trim()).toBe('暂无数据');
injector.get(NzI18nService).setLocale(en_US);
fixture.detectChanges();
// TODO: deal with i18n test with a unified way later
expect(table.nativeElement.querySelector('.ant-table-placeholder').innerText.trim()).toBe('暂无数据');
});
});
Expand Down

0 comments on commit 38497ee

Please sign in to comment.