@@ -27,6 +27,6 @@ function getStatus(index, taskPosition, testRun) {
27
27
exports . Task = function ( _a ) {
28
28
var task = _a . task , taskPosition = _a . taskPosition , index = _a . index , testRun = _a . testRun ;
29
29
var backgroundColor = getStatus ( index , taskPosition , testRun ) ;
30
- var currentTask = taskPosition === index ;
31
- return ( React . createElement ( List_1 . ListItem , { key :index , style :Object . assign ( { } , styles , { backgroundColor :backgroundColor } ) } , taskCheckbox_1 . taskCheckbox ( task , testRun ) , React . createElement ( "span" , { style :indexStyles } , index + 1 , "." ) , React . createElement ( "div" , { style :descriptionStyles } , React . createElement ( index_1 . Markdown , null , task . description ) ) ) ) ;
30
+ var isCurrentTask = taskPosition === index ;
31
+ return ( React . createElement ( List_1 . ListItem , { key :index , style :Object . assign ( { } , styles , { backgroundColor :backgroundColor } ) } , taskCheckbox_1 . taskCheckbox ( isCurrentTask , testRun ) , React . createElement ( "span" , { style :indexStyles } , index + 1 , "." ) , React . createElement ( "div" , { style :descriptionStyles } , React . createElement ( index_1 . Markdown , null , task . description ) ) ) ) ;
32
32
} ;