javascript - React Testing by jsdom - unable to get a class which is dynamically inserted into dom -


i testing react based grid component mocha , jsdom. there options button on grid on mousedown generates popup within grid. can simulate mousedown testutils.simulate , verified function getting called, unable class of generated popup testutils.scryrendereddomcomponentswithclass. popup not fade away untill user clicks outside of grid. should approach? there way can print jsdom markup can inspect further?


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -