fix(core): update

This commit is contained in:
2019-10-03 14:04:15 +02:00
parent 4978a2c272
commit 27f120b608
5 changed files with 31 additions and 8 deletions

View File

@ -27,15 +27,19 @@ tap.test('should init the client', async () => {
tap.test('should get accounts', async () => {
const accounts = await testBunqAccount.getAccounts();
console.log(accounts[2].alias);
console.log(accounts);
});
tap.test('should get transactions', async () => {
const accounts = await testBunqAccount.getAccounts();
for (const account of accounts) {
const transactions = await account.getTransactions();
// console.log(transactions);
console.log(transactions);
}
});
tap.test('should stop the instance', async () => {
await testBunqAccount.stop();
})
tap.start();