????Facebook??????Jest???????????????Jasmine????JavaScript???????????
????Jest???Facebook??????????????????????????Web??????á?????????????????????Facebook?????????????Jeff Morrison????????????????????????????????????儷???
????????????棬Jest??????????????????д?????JavaScript?????Jest??????require()?????CommonJS??飬????????????????????Dom API?????????????????????????????в??в????????????????????н??????????в????Jest?ò????????????
????Morrison???
????Jest??????????????????????????????????????????????????????????????????????????????н???Mock??????????????????Mock????
???????????????????????????Mock?????????????????????????У?????????????????????У?д?Щ?????????????????????????Ч??
?????????????Facebook???????????????????????????????????????????????????????????????????????Jest?????????????????
????Jest??Jasmine?????????????????????????Щ???????????????в??????Jest??????????????Jest????????????????????Mock???????????ЩMock?????????????????????????????Morrison??????2??????????и??????????????????“???????”????????????顣?????????????????Щ?????????????Mock??
?????????????Mock??Facebook??????н???????????
??????????Jest??????????????????require()??????Jest???????require()????????????????飬????????????????????????????????????Mock?汾?????????????Jest??????????????????????????????????????????Export??????????????
????????Jest???????????Mock????????????????????????????jest.mock()??jest.dontMock()??????Щ?????????y???Mock??
????????????????????????????檔??Hacker News?????Cthulu???
??????????????????????????AngularJS????????????????????????????????????????????????????????
??????в??У??????????????????????
????DOM????????′?????GC?????
?????????????PhantomJS???????????δ????????
????????????????????????????Щ??????????????????????У????????????????У????????????е?????
??????????????????AngularJS??Facebook???“Jest??ò????????????????????”????Angular????????????????д???????????????д???????Facebook????????Angular?к??????????????????????????????????????Angular????????????Jest???????????в????
????Jest?????Angular???????Mock?????????????CommonJS???????????????????????????????????????????κ????CommonJS?????д?????????????????????????????????
???????Caiob???????Jest??????????????????????????????????????????“Facebook?????????Jasmine??????????/?????????????????????????????????CommonJS????????”
????Morrison??????Jest??Facebook???????????????????ò??????????????????и?????儷????á???????????????????????????Github??????Pull??????????Freenode????#jestjs??