You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
itinance
changed the title
invalid emails like "test" return the same result like a valid email
invalid emails like "test" return the same result "undefined" like a valid email
Jun 14, 2024
Current Behavior
input: "test"
output: "undefined"
input: "[email protected]"
output: undefined
input "test@gmai"
output: undefined
input "test@gmail"
output: {... [email protected]}
Is this behaviour intended?
Expected Behavior
input: "test"
output: false
input: "[email protected]"
output: true
input "test@gmai"
output: false
input "test@gmail"
output: {... [email protected]}
Steps to Reproduce the Problem
const suggestion = emailSpellChecker.run({
email
})
Environment
The text was updated successfully, but these errors were encountered: