karma-runner/karma

Add hook to delay `start()`

Open

#375 ouverte le 4 mars 2013

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)JavaScript (1 703 forks)batch import
apihelp wantedtype: backlogtype: feature

Métriques du dépôt

Stars
 (11 918 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur