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 859f474 commit ce03607Copy full SHA for ce03607
1 file changed
lib/codecept.js
@@ -185,7 +185,7 @@ class Codecept {
185
}
186
187
if (this.opts.shuffle) {
188
- this.shuffle(this.testFiles)
+ this.testFiles = this.shuffle(this.testFiles)
189
190
191
if (this.opts.shard) {
@@ -206,6 +206,8 @@ class Codecept {
206
arrayToShuffle[j] = arrayToShuffle[i]
207
arrayToShuffle[i] = temp
208
209
+
210
+ return arrayToShuffle
211
212
213
/**
0 commit comments