Skip to content

Commit 8c9bfde

Browse files
committed
test(NODE-7196): use common format for test names
1 parent 638b5e9 commit 8c9bfde

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/integration/crud/unicode.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('Unicode', function () {
1919
await client?.close();
2020
});
2121

22-
it('shouldCorrectlyInsertUnicodeContainingDocument', async function () {
22+
it('should correctly insert unicode containing document', async function () {
2323
if (satisfies(process.versions.node, '22.7.0')) {
2424
this.skipReason = 'Node.js 22.7.0 has a UTF-8 encoding bug';
2525
this.skip();
@@ -79,7 +79,7 @@ describe('Unicode', function () {
7979
test.equal('felixge', document._id);
8080
});
8181

82-
it('should Correctly Insert Unicode Characters', async function () {
82+
it('should correctly insert unicode characters', async function () {
8383
const db = client.db(this.configuration.db);
8484
const collection = await db.createCollection('unicode_test_collection');
8585
const test_strings = ['ouooueauiOUOOUEAUI', 'öüóőúéáűíÖÜÓŐÚÉÁŰÍ', '本荘由利地域に洪水警報'];
@@ -91,7 +91,7 @@ describe('Unicode', function () {
9191
expect(documents[1]).property('text').to.equal(test_strings[documents[1].id]);
9292
});
9393

94-
it('shouldCreateObjectWithChineseObjectName', async function () {
94+
it('should create object with Chinese object name', async function () {
9595
const object = { 客家话: 'Hello' };
9696

9797
const configuration = this.configuration;
@@ -106,7 +106,7 @@ describe('Unicode', function () {
106106
test.equal(object['客家话'], items[0]['客家话']);
107107
});
108108

109-
it('shouldCorrectlyHandleUT8KeyNames', async function () {
109+
it('should correctly handle UTF8 key names', async function () {
110110
const configuration = this.configuration;
111111
const db = client.db(configuration.db);
112112
const collection = await db.createCollection('test_utf8_key_name');

0 commit comments

Comments
 (0)