Skip to content

Commit

Permalink
chore(reporter): add another surrogate pair test case (#33428)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt authored Nov 5, 2024
1 parent 58b1f32 commit 26a7dd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/playwright-test/fit-to-width.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ test('surrogate pairs', () => {
expect(fitToWidth('🚄🚄', 2)).toBe('…');
expect(fitToWidth('🚄🚄', 3)).toBe('…🚄');
expect(fitToWidth('🚄🚄', 4)).toBe('🚄🚄');
expect(fitToWidth('🧑‍🧑‍🧒🧑‍🧑‍🧒🧑‍🧑‍🧒', 4)).toBe('…🧑‍🧑‍🧒');
});

0 comments on commit 26a7dd4

Please sign in to comment.