Skip to content

Commit 14cf0f9

Browse files
committed
fix: forever yellow tests in gui mode after running all tests
1 parent e805959 commit 14cf0f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/static/modules/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function reducer(state = getInitialState(compiledData), action) {
7979
}
8080
case actionNames.RUN_ALL_TESTS: {
8181
const suites = clone(state.suites);
82-
setStatusToAll(suites, action.payload.status);
82+
Object.values(suites).map(suite => setStatusToAll(suite, action.payload.status));
8383

8484
// TODO: rewrite store on run all tests
8585
return merge({}, state, {running: true, suites, view: {groupByError: false}});

0 commit comments

Comments
 (0)