lion/packages/input-iban/test/parsers.test.js
Thomas Allmer ec8da8f12c feat: release inital public lion version
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>
2019-04-26 10:37:57 +02:00

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');
});
});