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
Post a Comment