Skip to content

Commit

Permalink
Merge branch 'dev' into patch-15
Browse files Browse the repository at this point in the history
  • Loading branch information
personalizedrefrigerator authored Oct 5, 2024
2 parents 22f8079 + 432fac8 commit dc91a77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/lib/utils/replaceUnsupportedCharacters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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...');
});
});
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2015",
"target": "es2017",
//"lib": ["es2015", "es2020.string", "dom", "dom.iterable"],
"alwaysStrict": true,
"forceConsistentCasingInFileNames": true,
Expand Down

0 comments on commit dc91a77

Please sign in to comment.