We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a19731 commit 5eb11ddCopy full SHA for 5eb11dd
test/schema.test.js
@@ -2682,8 +2682,8 @@ describe('schema', function() {
2682
assert.equal(TestSchema.path('testprop.$*').instance, 'Number');
2683
assert.equal(TestSchema.path('testprop.$*').options.ref, 'OtherModel');
2684
});
2685
-
2686
- it('disallows setting special properties with `add()` or constructor (gh-12085)', async function() {
+
+ it('disallows setting special properties with `add()` or constructor (gh-12085)', function() {
2687
const maliciousPayload = '{"__proto__.toString": "Number"}';
2688
2689
assert.throws(() => {
0 commit comments