-Changes made to reflect the new layouts of the test env --e.g. Changes to the app grid, changes to UI screens -Updated commands --New commands added & some updated -New tests --Revert App --AutoScreensUI --Change app icon and colour --Data source testing In particular to data source testing -I have a file for mySQL, PostgreSQL, Oracle, and REST. --enabled better regression testing for each Other changes made for: -QueryLevelTransformers tests -Table tests -Renaming applications -Automations -Multi-option datastype New env file added too
14 lines
293 B
JavaScript
14 lines
293 B
JavaScript
const breweries = data
|
|
const totals = {}
|
|
|
|
for (let brewery of breweries) {
|
|
const state = brewery.state
|
|
if (totals[state] == null) {
|
|
totals[state] = 1
|
|
} else {
|
|
totals[state]++
|
|
}
|
|
}
|
|
const entries = Object.entries(totals)
|
|
return entries.map(([state, count]) => ({ state, count }))
|