BDD Assertç³»ã®ã¢ã¸ã¥ã¼ã«ã§chaiã¨expect.jsã試ãããæ©è½ã¯ã»ã¼å¤ãããªããã©ãã©ã¦ã¶ã®ãµãã¼ãã§ãã£ããå·®ãåºããï¼ããã§ããæ©è½ãå¤ãããªãã£ã¦ã®ã¯chai.expectã¨æ¯è¼ãã¦ã®è©±ããchai.assertã¨ãchai.shouldãèããã¨å®å ¨ã«chaiãé«æ©è½ï¼ https://github.com/logicalparadox/chai https://github.com/LearnBoost/expect.js chaiã¯IE8以ä¸ã ã¨ã´ããã¨ãåããªããexpect.prototype.instanceofã¨ãã£ã¦äºç´èªããã¼ã«ãã¦ãã®ã§ã主ãªåå ããªï¼ä»ã«ãåå ããã¤ãããã£ã½ãï¼ããªã®ã§ã¡ãã£ã¨åã®Safariï¼ä¸»ã«iOS4ç³»ï¼ã§ãã¢ã¦ãã IE9ã¯åãã®ã¯åããã©ãã¹ããããã¤ãããã¦ããexpect.prototype.throwããã°ã£ã¦ã
{{#tags}}- {{label}}
{{/tags}}