fix(core): update

This commit is contained in:
2020-08-23 15:36:07 +00:00
parent fe62ecd0e1
commit ebf2796e0e
2 changed files with 5 additions and 5 deletions

View File

@ -5,14 +5,14 @@ import { Qenv } from '@pushrocks/qenv';
const testQenv = new Qenv('./', './.nogit/');
import * as smarttime from '@pushrocks/smarttime';
let testPayPalInstance: paypal.PayPal;
let testPayPalInstance: paypal.PayPalAccount;
tap.test('should create a valid paypal instance', async () => {
testPayPalInstance = new paypal.PayPal({
testPayPalInstance = new paypal.PayPalAccount({
clientId: testQenv.getEnvVarOnDemand('PAYPAL_CLIENT_ID'),
clientSecret: testQenv.getEnvVarOnDemand('PAYPAL_CLIENT_SECRET'),
});
expect(testPayPalInstance).to.be.instanceOf(paypal.PayPal);
expect(testPayPalInstance).to.be.instanceOf(paypal.PayPalAccount);
});
tap.test('should get an access token', async () => {