Skip to content

Commit

Permalink
Update locale-imports.spec.ts
Browse files Browse the repository at this point in the history
Co-authored-by: ST-DDT <ST-DDT@gmx.de>
  • Loading branch information
matthewmayer and ST-DDT authored Mar 4, 2024
1 parent d02c92e commit 823ffb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/locale-imports.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe.each(keys(allLocales))('locale imports', (locale) => {
if (locale !== 'base') {
expect(metadata.code).toEqual(
[metadata.language, metadata.country, metadata.variant]
.filter(Boolean)
.filter((v) => v != null)
.join('_')
);
expect(metadata.language).toBeTypeOf('string');
Expand Down

0 comments on commit 823ffb4

Please sign in to comment.