Skip to content

Commit

Permalink
feat: add 8388-1 Varbergs sparbank (#38)
Browse files Browse the repository at this point in the history
Found in the wild and previously not caught by this library. See:

https://www.varbergssparbank.se/kontakt-oppettider/varberg-huvudkontor/
  • Loading branch information
fohlin authored and believer committed May 28, 2018
1 parent 4b3b428 commit 483fb10
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/__tests__/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ describe('#bankName', () => {
it('Sölvesborg-Mjällby sparbank', () => {
expect(bankName('8321-2')).toEqual('Sölvesborg-Mjällby sparbank')
})

it('Varbergs sparbank', () => {
expect(bankName('8388-1')).toEqual('Varbergs sparbank')
})
})

describe('Teller Branch Norway', () => {
Expand Down
9 changes: 9 additions & 0 deletions lib/clearingNumbers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,15 @@ export default [
},
],
},
{
bank: 'Varbergs sparbank',
ranges: [
{
max: '8388-1',
min: '8388-1',
},
],
},
{
bank: 'VP Securities A/S',
ranges: [
Expand Down

0 comments on commit 483fb10

Please sign in to comment.