ãããªãçµè«ãæ¸ãã¨ãidãclassã¯ã¹ã¿ã¤ã«ã®ããã®ãã®ãªã®ã§ããã¹ãã§ããã使ãã®ã¯ããã¾ããããããã¦ãã«ã¹ã¿ã ãã¼ã¿å±æ§ã使ãã¾ãããã(idãclassã¯ã¹ã¿ã¤ã«ã®ããã ãã§ã¯ãªãã¨ããæè¦ã¯ããã£ã¨ãã§ãï¼ãããã主ã«ã¨ãã¦ã¹ã¿ã¤ã«ã«ä½¿ãããã¨ãããã¨ã§ãäºæ¿é ãã¦ä»¥ä¸ã®é§æã«ä»ãåã£ã¦é ããã¨å¹¸ãã§ãð) å ã«æã£ã¦ããã¨ä¸»ã«reactã«ã¤ãã¦ã®è©±ã§ãJSXãåæã¨ãã¾ãã(ææ³ã¯Reactã«éãã¾ãããçç±ã¯å¾è¿°) 2020/03/23 è¿½è¨ ãã®è¨äºã¯1年以ä¸åã«æ¸ãããè¨äºãªã®ã§ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦enzymeã使ã£ã¦ãã¾ãããç¾æç¹ã§ã¯Testing Libraryã®ä½¿ç¨ããªã¹ã¹ã¡ãã¾ããdata-testid ã«å¯¾å¿ããã¯ã¨ãªãåãã¦ãã¾ãã React Testing Library · Testing Library ã¯ããã« ãåç¥ã®éãããã¸ãã¯ã¨
{{#tags}}- {{label}}
{{/tags}}