Co-authored-by: Mikhail Bashkirov <mikhail.bashkirov@ing.com> Co-authored-by: Thijs Louisse <thijs.louisse@ing.com> Co-authored-by: Joren Broekema <joren.broekema@ing.com> Co-authored-by: Gerjan van Geest <gerjan.van.geest@ing.com> Co-authored-by: Erik Kroes <erik.kroes@ing.com> Co-authored-by: Lars den Bakker <lars.den.bakker@ing.com>
10 lines
316 B
JavaScript
10 lines
316 B
JavaScript
/* eslint-env mocha */
|
|
import { expect } from '@open-wc/testing';
|
|
|
|
import { parseIBAN } from '../src/parsers.js';
|
|
|
|
describe('parseIBAN', () => {
|
|
it('parses formatted value by trimming spaces and making uppercase', () => {
|
|
expect(parseIBAN(' nl17 InGB 0002 8226 08 ')).to.equal('NL17INGB0002822608');
|
|
});
|
|
});
|