Skip to content

Commit 64384e0

Browse files
vkarpov15Copilot
andauthored
Update test/types.documentarray.test.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 82eeb11 commit 64384e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/types.documentarray.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ describe('types.documentarray', function() {
198198

199199
const parentDoc = { $__: true, $__schema: new Schema({ subdocs: [schema] }) };
200200

201-
const a = new MongooseDocumentArray([sub1], 'test', parentDoc);
201+
const a = new MongooseDocumentArray([sub1], 'subdocs', parentDoc);
202202
assert.equal(a.id('42').title, 'Hello again to all my friends');
203203
assert.equal(a.id(sub1.id).title, 'Hello again to all my friends');
204204
assert.ok(!a.id('43'));

0 commit comments

Comments
 (0)