chore(reporter): add another surrogate pair test case (#33428)
This commit is contained in:
parent
58b1f322ab
commit
26a7dd4dd4
|
@ -29,4 +29,5 @@ test('surrogate pairs', () => {
|
|||
expect(fitToWidth('🚄🚄', 2)).toBe('…');
|
||||
expect(fitToWidth('🚄🚄', 3)).toBe('…🚄');
|
||||
expect(fitToWidth('🚄🚄', 4)).toBe('🚄🚄');
|
||||
expect(fitToWidth('🧑🧑🧒🧑🧑🧒🧑🧑🧒', 4)).toBe('…🧑🧑🧒');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue