We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76860dd commit 901c48cCopy full SHA for 901c48c
api.js
@@ -194,9 +194,6 @@ Api.prototype.run = function (files) {
194
195
var tests = files.map(self._runFile);
196
197
- // receive test count from all files and then run the tests
198
- var unreportedFiles = self.fileCount;
199
-
200
return new Promise(function (resolve) {
201
function run() {
202
if (self.options.match.length > 0 && !self.hasExclusive) {
@@ -238,6 +235,8 @@ Api.prototype.run = function (files) {
238
235
}));
239
236
}
240
237
+ // receive test count from all files and then run the tests
+ var unreportedFiles = self.fileCount;
241
tests.forEach(function (test) {
242
var tried = false;
243
function tryRun() {
0 commit comments