Skip to content

Commit

Permalink
chore: fix CI types
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Oct 17, 2023
1 parent b7452ea commit a5ce5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/vue/yup/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const onChangeFirstName = yup
.string()
.test('no-error', "No 'error' allowed in first name", async (value) => {
await new Promise((resolve) => setTimeout(resolve, 1000))
return !value.includes('error')
return !value?.includes('error')
})
</script>

Expand Down

0 comments on commit a5ce5e3

Please sign in to comment.