diff --git a/test/cast.test.js b/test/cast.test.js index 2be2186aae..0ed0c8df9f 100644 --- a/test/cast.test.js +++ b/test/cast.test.js @@ -259,7 +259,7 @@ describe('cast: ', function() { it('treats unknown operators as passthrough (gh-15170)', function() { const schema = new Schema({ x: Boolean }); - assert.deepEqual(cast(schema, { x: { $someConditional: true } }), + assert.deepEqual(cast(schema, { x: { $someConditional: 'true' } }), { x: { $someConditional: true } }); }); });