Skip to content

Commit 030ac20

Browse files
author
iganchev
committed
test(i18n): Toggle test to pass, after CI testing
1 parent 15f0cf2 commit 030ac20

File tree

1 file changed

+1
-1
lines changed
  • projects/igniteui-angular/src/lib/core/i18n/tests

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/core/i18n/tests/tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class i18nTests {
1616
public i18nFilesMatchForAllLanguages(): void {
1717
this.getDirectories(i18nLanguagesPath).forEach(dir => {
1818
const curDirPath = path.join(i18nLanguagesPath, dir);
19-
if (this.getFiles(curDirPath).length === this.getFiles(i18nProductPath).length) {
19+
if (this.getFiles(curDirPath).length !== this.getFiles(i18nProductPath).length) {
2020
errors.push(`Not all i18n component files that are available for localization have matching files for ${dir} language.
2121
Check and add the appropriate resource strings with EN translation and mark the PR as 'pending localization'`
2222
);

0 commit comments

Comments
 (0)