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
Describe the bug URLSearchParams should have its size property which indicates the total number of search parameter entries. However, happy-dom implementation always returns undefined when trying to access it.
To Reproduce
Steps to reproduce the behavior:
In node environment, for example in vitest, add this code:
Describe the bug
URLSearchParams should have its size property which indicates the total number of search parameter entries. However, happy-dom implementation always returns
undefined
when trying to access it.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Console should return
But it returns
Device:
The text was updated successfully, but these errors were encountered: