這邊用Jasmine 測試,但其實也可以用其他的測試框架像是Mocha. ... ]).then(function(modules) { //manually trigger Jasmine test-runner window.onload(); }) ...
確定! 回上一頁