I have code using the combo box, inside the combo box I have a map that cycles through a small array of data and uses them in an . This runs locally and im able to cycle through those different options inside the combo box. However the error occurs when I run a simple render test. I am getting a "TypeError: win.ResizeObserver is not a constructor" error only when running the test.
Steps to reproduce
create a combo box with about 10 items inside. try and create a test that only checks if the component renders.
Package name(s)
Core (@salt-ds/core)
Package version(s)
1.22.0
Description
I have code using the combo box, inside the combo box I have a map that cycles through a small array of data and uses them in an . This runs locally and im able to cycle through those different options inside the combo box. However the error occurs when I run a simple render test. I am getting a "TypeError: win.ResizeObserver is not a constructor" error only when running the test.
Steps to reproduce
create a combo box with about 10 items inside. try and create a test that only checks if the component renders.
Expected behavior
after running the tests, the tests all pass
Operating system
Browser
Are you a JPMorgan Chase & Co. employee?