Skip to content

Commit c24f576

Browse files
committed
test: make utf test work on older servers
1 parent d5621c9 commit c24f576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/node-specific/bson-options/utf8_validation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ describe('class MongoDBResponse', () => {
130130

131131
it('does not throw a UTF-8 parsing error', async () => {
132132
// Insert a large string of multibyte UTF-8 characters
133-
const _id = '\u{1F92A}'.repeat(1000);
133+
const _id = '\u{1F92A}'.repeat(100);
134134

135135
const test = client.db('parsing').collection<{ _id: string }>('parsing');
136136
await test.insertOne({ _id });

0 commit comments

Comments
 (0)