portablefinance/test/test.ts

19 lines
466 B
TypeScript
Raw Normal View History

2019-05-23 15:37:13 +00:00
import { expect, tap } from '@pushrocks/tapbundle';
import * as finplusInterfaces from '../ts/index';
interface ITestTransaction {
date: Date;
amount: number;
}
2019-05-23 15:37:13 +00:00
tap.test('first test', async () => {
class MyCsvParser extends finplusInterfaces.AcCsvParser<ITestTransaction> {
public transactionArray: ITestTransaction[] = [];
public async getTransactions(): Promise<ITestTransaction[]> {
return this.transactionArray;
}
}
2019-05-23 15:37:13 +00:00
});
tap.start();