Skip to content

Commit 17469d3

Browse files
vkarpov15hasezoey
andauthored
Update test/document.test.js
Co-authored-by: hasezoey <[email protected]>
1 parent d34f38f commit 17469d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/document.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14325,8 +14325,8 @@ describe('document', function() {
1432514325
);
1432614326

1432714327
const doc2 = await Discriminator.findById(doc).orFail();
14328-
assert.strictEqual(doc2.field1, undefined);
1432914328
assert.strictEqual(doc2.field2, 'test2');
14329+
assert.strictEqual(doc2.field1, undefined);
1433014330

1433114331
const obj = doc2.toObject();
1433214332
assert.strictEqual(obj.field2, 'test2');

0 commit comments

Comments
 (0)