smartmoney/test/test.ts
2019-07-09 00:44:27 +02:00

11 lines
311 B
TypeScript

// tslint:disable-next-line: no-implicit-dependencies
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartmoney from '../ts/index';
tap.test('first test', async () => {
const myNumber = smartmoney.parseEuropeanNumberString('1.000,50');
expect(myNumber).to.equal(1000.5);
});
tap.start();