ã¿ãªãããã¹ãã¯æ¸ãã¦ãã¾ããã. æ¸ãã¦ããªããã°ãµãã ãã«æ»ã. ä¾ãã°é¢æ° add ã«å¯¾ãã¦, 以ä¸ã®ãããªãã¹ãã³ã¼ããããã¨ãã¾ã. describe("add", () => { it("æ£ããè¨ç®ã§ãã", () => { expect(add(1, 2)).toBe(3); }); }); ããããã§ãã? ãããããªãã¨æãã®ã§ããã°ããããä¸ã¯èªã¾ãªãã¦ã大ä¸å¤«ãªãããç解ãã¦ããæ¹ã ã¨æãã¾ã. ç¶ãã¦é¢æ°åãå¤ããã ãã®ãã¡ããã©ãã. describe("sub", () => { it("æ£ããè¨ç®ã§ãã", () => { expect(sub(1, 2)).toBe(3); }); }); ãªãã ãæããã«ééã£ã¦ããæ°ããã¾ã. ãããã®ãã¹ããééãã¦ãã¾ã£ãã¨ãæã ã¯ã©ãããã°ããã®ã§ãããã. èãããããã¿ã¼ã³ã¯ 2 ã¤ããã¾ã. å®è£ ããã¹ããæ£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}