Skip to content

Commit

Permalink
Update test/docs/validation.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Hafez <a.hafez852@gmail.com>
  • Loading branch information
vkarpov15 and AbdelrahmanHafez committed Sep 25, 2022
1 parent aded5aa commit 4fcf0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/docs/validation.test.js
Expand Up @@ -380,7 +380,7 @@ describe('validation docs', function() {
// acquit:ignore:end
});

it('Global SchemaType Validation rray', async function() {
it('Global SchemaType Validation', async function() {
// Add a custom validator to all strings
mongoose.Schema.Types.String.set('validate', v => v == null || v > 0);

Expand Down

0 comments on commit 4fcf0a5

Please sign in to comment.