Skip to content

Commit 180bf95

Browse files
committed
test: remove unnecessary comments re: CR
1 parent 40358bb commit 180bf95

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/types.map.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,14 +1168,11 @@ describe('Map', function() {
11681168
let doc1 = new Test({ name: 'name1', test_map: new Map() });
11691169
await doc1.save();
11701170

1171-
// 1. Refresh the document from the db
11721171
doc1 = await Test.findOne({ _id: doc1._id });
11731172

1174-
// 2. Modify the document (add a new key in the test_map map)
11751173
doc1.test_map.set('key1', []);
11761174
await doc1.save();
11771175

1178-
// 3. Now, the document is wrong in the db and we cannot access the test_map anymore.
11791176
doc1 = await Test.findOne({ _id: doc1._id });
11801177
assert.deepStrictEqual(doc1.toObject().test_map, new Map([['key1', []]]));
11811178

0 commit comments

Comments
 (0)