Skip to content

Commit

Permalink
Add more cases to target
Browse files Browse the repository at this point in the history
Refs #31, f866f53
  • Loading branch information
thewilkybarkid committed Jul 11, 2024
1 parent 87c4c31 commit 31bf6b9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/Iso3166.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,16 @@ describe('guessCountry', () => {
expect(actual).toStrictEqual(Option.some(expected))
})

test.for(['Fayetteville GA (near Atlanta)', 'Mars', 'Southeast Asia', 'The UK'])("doesn't guess %s", input => {
test.for([
'Babol iran',
'Düsseldorf',
'Fayetteville GA (near Atlanta)',
'Mars',
'Norwich',
'Southeast Asia',
'The UK',
'Yale university',
])("doesn't guess %s", input => {
const actual = _.guessCountry(input)

expect(actual).toStrictEqual(Option.none())
Expand Down

0 comments on commit 31bf6b9

Please sign in to comment.