Skip to content

Commit

Permalink
try commenting out potential offending code to debug deno issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Dec 21, 2023
1 parent 6d4f215 commit fed9a3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/schema.select.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ describe('schema select option', function() {
assert.equal(findByIdDocAgain.isSelected('name'), false);
assert.equal(findByIdDocAgain.isSelected('docs.name'), false);
assert.strictEqual(undefined, findByIdDocAgain.name);
const findUpdateDoc = await Test.findOneAndUpdate({ _id: doc._id });
/*const findUpdateDoc = await Test.findOneAndUpdate({ _id: doc._id });
assert.equal(findUpdateDoc.isSelected('name'), false);
assert.equal(findUpdateDoc.isSelected('docs.name'), false);
assert.strictEqual(undefined, findUpdateDoc.name);
const findAndDeleteDoc = await Test.findOneAndDelete({ _id: doc._id });
assert.equal(findAndDeleteDoc.isSelected('name'), false);
assert.equal(findAndDeleteDoc.isSelected('docs.name'), false);
assert.strictEqual(undefined, findAndDeleteDoc.name);
assert.strictEqual(undefined, findAndDeleteDoc.name);*/
});

it('including paths through schematype', async function() {
Expand Down

0 comments on commit fed9a3f

Please sign in to comment.