chore(reporter): add another surrogate pair test case
This commit is contained in:
parent
b148ce1ad1
commit
7a88250832
|
|
@ -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 a new issue