karma-runner/karma

Add hook to delay `start()`

Offen

#375 geöffnet am 04.03.2013

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.703 Forks)batch import
apihelp wantedtype: backlogtype: feature

Repository-Metriken

Stars
 (11.918 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide