来源:https://stackoverflow.com/questions/39767177/using-enzyme-simulate-on-custom-events 标签 javascript testing reactjs enzyme