Cocos2dx js unit test

請問cocos2dx js 可以做unit test嗎?
如果可以的話,請問是要建置什麼樣的環境來執行呢?