diff --git a/src/__tests__/i18n-no-dot-separator.test.ts b/src/__tests__/i18n-no-dot-separator.test.ts index 401396ae4..f464e6809 100644 --- a/src/__tests__/i18n-no-dot-separator.test.ts +++ b/src/__tests__/i18n-no-dot-separator.test.ts @@ -66,9 +66,7 @@ describe("message bundles carry no ' · ', ' — ' or ' – ' separator", () => it(`${file} has no dot or dash separator outside the allowlist`, () => { const offenders = [...values] - .filter( - ([key, value]) => hasSeparator(value) && !(key in ALLOWED), - ) + .filter(([key, value]) => hasSeparator(value) && !(key in ALLOWED)) .map(([key, value]) => `${key} = ${JSON.stringify(value)}`); expect(offenders).toEqual([]); });