fix(core): update
This commit is contained in:
@ -3,6 +3,7 @@ import * as paypal from '../ts/index';
|
||||
|
||||
import { Qenv } from '@pushrocks/qenv';
|
||||
const testQenv = new Qenv('./', './.nogit/');
|
||||
import * as smarttime from '@pushrocks/smarttime';
|
||||
|
||||
let testPayPalInstance: paypal.PayPal;
|
||||
|
||||
@ -15,7 +16,8 @@ tap.test('should create a valid paypal instance', async () => {
|
||||
});
|
||||
|
||||
tap.test('should get an access token', async () => {
|
||||
await testPayPalInstance.request();
|
||||
const transactions = await paypal.PayPalTransaction.getTransactionFor30days(testPayPalInstance, smarttime.ExtendedDate.fromHyphedDate('2020-05-01').getTime());
|
||||
console.log(transactions);
|
||||
});
|
||||
|
||||
tap.start();
|
||||
|
Reference in New Issue
Block a user