diff --git a/tests/playwright-test/fit-to-width.spec.ts b/tests/playwright-test/fit-to-width.spec.ts index 94e73cb381..c4f6dd3200 100644 --- a/tests/playwright-test/fit-to-width.spec.ts +++ b/tests/playwright-test/fit-to-width.spec.ts @@ -29,4 +29,5 @@ test('surrogate pairs', () => { expect(fitToWidth('🚄🚄', 2)).toBe('…'); expect(fitToWidth('🚄🚄', 3)).toBe('…🚄'); expect(fitToWidth('🚄🚄', 4)).toBe('🚄🚄'); + expect(fitToWidth('🧑‍🧑‍🧒🧑‍🧑‍🧒🧑‍🧑‍🧒', 4)).toBe('…🧑‍🧑‍🧒'); });