Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion regionNames/SRB.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@
"RS-21": "Toplica",
"RS-22": "Pirot",
"RS-23": "Jablanica",
"RS-24": "Pčinja"
"RS-24": "Pčinja",
"RS-VO": "Vojvodina",
"RS-KM": "Kosovo and Metohija"
}
12 changes: 11 additions & 1 deletion regions/SRB.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@
"low": 19340,
"high": 19378
},
{
"region": "RS-VO",
"low": 20000,
"high": 21999
},
{
"region": "RS-06",
"low": 21000,
Expand Down Expand Up @@ -241,5 +246,10 @@
"region": "RS-19",
"low": 37000,
"high": 37299
},
{
"region": "RS-KM",
"low": 38000,
"high": 38999
}
]
]
10 changes: 10 additions & 0 deletions test/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,16 @@ const countriesPostalCodes = {
zip: '24430',
result: 'RS-03',
usingGoogle: false,
}, {
name: 'SRB',
zip: '21000',
result: 'RS-VO',
usingGoogle: false,
}, {
name: 'SRB',
zip: '38000',
result: 'RS-KM',
usingGoogle: false,
}],
'United States': [{
name: 'USA',
Expand Down