Skip to content

Commit 4cf9e71

Browse files
committed
update e2e
1 parent 966b19f commit 4cf9e71

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

packages/compass-e2e-tests/tests/collection-schema-tab.test.ts

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -208,17 +208,19 @@ describe('Collection schema tab', function () {
208208

209209
const content = readFileSync(filePath, 'utf-8');
210210
expect(JSON.parse(content)).to.deep.equal({
211-
bsonType: 'object',
212-
required: ['_id', 'i', 'j'],
213-
properties: {
214-
_id: {
215-
bsonType: 'objectId',
216-
},
217-
i: {
218-
bsonType: 'int',
219-
},
220-
j: {
221-
bsonType: 'int',
211+
$jsonSchema: {
212+
bsonType: 'object',
213+
required: ['_id', 'i', 'j'],
214+
properties: {
215+
_id: {
216+
bsonType: 'objectId',
217+
},
218+
i: {
219+
bsonType: 'int',
220+
},
221+
j: {
222+
bsonType: 'int',
223+
},
222224
},
223225
},
224226
});

0 commit comments

Comments
 (0)