karma-runner/karma

Add hook to delay `start()`

Open

#375 建立於 2013年3月4日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)JavaScript (11,918 star) (1,703 fork)batch import
apihelp wantedtype: backlogtype: feature

描述

For Ext.js, ember, and perhaps other applications, the test runner could use a direct API for delaying the test suite from running. Here's my current work-around:

window.__testacular__.loaded = function(){};
someApp.on('init', function() {
  window.__testacular__.start();
});

And then add it to the files array in the test config. Haven't had a chance to think about the API for that yet.

貢獻者指南