diff --git a/assets/scripts/test.coffee b/assets/scripts/test.coffee index aebedbf..2f93411 100644 --- a/assets/scripts/test.coffee +++ b/assets/scripts/test.coffee @@ -42,8 +42,7 @@ fetchTestBenchmarkResults = (testId, benchmarkId) -> catch error console.error 'An error occurred while fetching benchmark results.', error -$('#results-table tbody tr').each((index, tr) -> +$('#results-table tbody tr').each (index, tr) -> benchmarkId = $(tr).data('benchmark-id') console.log("Fetching results for benchmark id: " + benchmarkId) fetchTestBenchmarkResults(testId, benchmarkId) -)