Skip to content

Commit

Permalink
fix(@dpc-sdp/nuxt-ripple-cli): 🐛 add fixes for problematic locality data
Browse files Browse the repository at this point in the history
  • Loading branch information
dylankelly committed Apr 16, 2024
1 parent bae08fa commit 5d59f30
Show file tree
Hide file tree
Showing 3 changed files with 9,066 additions and 9,475 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ describe('budget data script', () => {
const geoServerLocalitiesPairs = geoserverDataLocalities.map(
(itm) => `${itm.properties.name} - ${itm.properties.lga_official_name}`
)
const missing: string[] = findMissingItems(
const missingInTestData: string[] = findMissingItems(
geoServerLocalitiesPairs,
testLocalitiesPairs
)
expect(missing).toMatchInlineSnapshot(`
expect(missingInTestData).toMatchInlineSnapshot(`
[
"AREEGRA - BULOKE SHIRE",
"ATHLONE - SOUTH GIPPSLAND SHIRE",
Expand Down Expand Up @@ -97,6 +97,18 @@ describe('budget data script', () => {
"WONNANGATTA - WELLINGTON SHIRE",
]
`)
const missingInGeoData: string[] = findMissingItems(
testLocalitiesPairs,
geoServerLocalitiesPairs
)
expect(missingInGeoData).toMatchInlineSnapshot(`
[
"ELIZABETH ISLAND - FRENCH-ELIZABETH-SANDSTONE ISLANDS (UNINCORPO",
"FRENCH ISLAND - FRENCH-ELIZABETH-SANDSTONE ISLANDS (UNINCORPO",
"WARRANWOOD - MANNINGHAM CITY",
"WATTLE HILL - COLAC OTWAY SHIRE",
]
`)
})
})
describe('LGAs', () => {
Expand Down
Loading

0 comments on commit 5d59f30

Please sign in to comment.