How to set up a test in jest to check for existence of elements with specific data attributes in dom

前端 未结 0 1719
鱼传尺愫
鱼传尺愫 2021-02-20 04:18

Im testing my javascript class with jest, here\'s the relevant part of the class :

class ContentEditable {
  constructor(editableKind){
    this.editables =  docu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题