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.

贡献者指南