mirror of https://github.com/laurent22/joplin.git
Chore: Fix CI (#11173)
parent
0f23882d47
commit
432fac8fda
|
@ -2,7 +2,7 @@ import replaceUnsupportedCharacters from './replaceUnsupportedCharacters';
|
||||||
|
|
||||||
describe('replaceUnsupportedCharacters', () => {
|
describe('replaceUnsupportedCharacters', () => {
|
||||||
test('should replace NULL characters', () => {
|
test('should replace NULL characters', () => {
|
||||||
expect(replaceUnsupportedCharacters('Test\x00...')).toBe('Test<EFBFBD>...');
|
expect(replaceUnsupportedCharacters('Test\x00...')).toBe('Test\uFFFD...');
|
||||||
expect(replaceUnsupportedCharacters('\x00Test\x00...')).toBe('<EFBFBD>Test<EFBFBD>...');
|
expect(replaceUnsupportedCharacters('\x00Test\x00...')).toBe('\uFFFDTest\uFFFD...');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"target": "es2015",
|
"target": "es2017",
|
||||||
//"lib": ["es2015", "es2020.string", "dom", "dom.iterable"],
|
//"lib": ["es2015", "es2020.string", "dom", "dom.iterable"],
|
||||||
"alwaysStrict": true,
|
"alwaysStrict": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
|
Loading…
Reference in New Issue