We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cad0d7 commit 0728602Copy full SHA for 0728602
test/cast.test.js
@@ -259,7 +259,7 @@ describe('cast: ', function() {
259
260
it('treats unknown operators as passthrough (gh-15170)', function() {
261
const schema = new Schema({ x: Boolean });
262
- assert.deepEqual(cast(schema, { x: { $someConditional: true } }),
+ assert.deepEqual(cast(schema, { x: { $someConditional: 'true' } }),
263
{ x: { $someConditional: true } });
264
});
265
0 commit comments