1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Chore: Fix CI (#11173)

This commit is contained in:
Henry Heino
2024-10-05 12:22:44 -07:00
committed by GitHub
parent 0f23882d47
commit 432fac8fda
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import replaceUnsupportedCharacters from './replaceUnsupportedCharacters';
describe('replaceUnsupportedCharacters', () => {
test('should replace NULL characters', () => {
expect(replaceUnsupportedCharacters('Test\x00...')).toBe('Test...');
expect(replaceUnsupportedCharacters('\x00Test\x00...')).toBe('�Test�...');
expect(replaceUnsupportedCharacters('Test\x00...')).toBe('Test\uFFFD...');
expect(replaceUnsupportedCharacters('\x00Test\x00...')).toBe('\uFFFDTest\uFFFD...');
});
});