Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jun 19, 2024
1 parent 48931db commit 23f6e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/document.unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

'use strict';

const Schema = require('../lib/schema');
const start = require('./common');

const assert = require('assert');
Expand Down Expand Up @@ -42,6 +41,7 @@ describe('toObject()', function() {
options: { toObject: { minimize: false, virtuals: true } },
virtuals: { virtual: { applyGetters: () => 'test' } }
};
this.$__schema._defaultToObjectOptions = () => this.$__schema.options.toObject;
this._doc = { empty: {} };
this.$__ = {};
};
Expand Down

0 comments on commit 23f6e0a

Please sign in to comment.