Files

11 lines
311 B
TypeScript
Raw Permalink Normal View History

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