ã¯ããã« JavaScriptã®ã¢ãã¯ã©ã¤ãã©ãªã§ã¯ã sinon ãªã©ãæåã§ãããããã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã« Jest ã使ã£ã¦ããªãã° Jestçµã¿è¾¼ã¿ã®ã¢ãã¯ã©ã¤ãã©ãªã§æ¸ã¾ããã»ããå¦ç¿ã³ã¹ãå°ãªãã¦æ¸ãã ããã¨æããã ãããã sinon ã®æè¦ã§Jestã®ã¢ãã¯ã©ã¤ãã©ãªã使ããã¨ããã¨éåæã¨ããã®ããã¢ãã¯ã¸ã®èãæ¹ã®éãã«æ°ã¥ããããã ã¨ãããã¨ã§ä»åã¯ãJestã®ã¢ãã¯ã©ã¤ãã©ãªã®èãæ¹ã¨ä½¿ãæ¹ãæ´çãã¦ããããã¨æãã ã¢ãã¯ã®ç¨èªæ´çã¨Jestã¢ãã¯ã©ã¤ãã©ãªã®ä½ç½®ã¥ã ã¢ãã¯ã¨ä¸è¨ã§ãã£ã¦ãããããæãå 容ã¯å¾®å¦ã«ç°ãªãã ããã§ã¯ãã¢ãã¯ã åºç¾©ã®Mock Object 㨠ç義ã®Mock Object ã¨åãã¦æ´çãã¦ããã¦ãããã¹ãé§åéçºãåèã«ç¨èªãæ´çããã ãã¹ãé§åéçºã§ã¯ãã¢ãã¯ç¨èªããä¸å³ã®ã¨ããããã¹ãããã«ã¨ãã®ãµãã¯ã©ã¹ã¨ãã¦
{{#tags}}- {{label}}
{{/tags}}