-
Notifications
You must be signed in to change notification settings - Fork 255
Open
Labels
bugSomething isn't workingSomething isn't workingneeds assessmentThis needs to be looked at by a team memberThis needs to be looked at by a team member
Description
Reproduction example
null
Prerequisites
Setting a value to null
programmatically.
Line 24 in 63ac399
return typeof value === 'object' && UIValue in value |
Expected behavior
Nothing happens
Actual behavior
TypeError: right hand side of 'in' should be an object, got null
Since EcmaScript returns object
on typeof null
this function is not safe
Line 24 in 63ac399
return typeof value === 'object' && UIValue in value |
User-event version
14.6.1
Environment
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds assessmentThis needs to be looked at by a team memberThis needs to be looked at by a team member