Skip to content

Commit

Permalink
Missing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Jan 20, 2022
1 parent 3f889c1 commit 4ebff5b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/resources/generated_examples_test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2018,4 +2018,14 @@ describe('PaymentLink', function() {
});
expect(paymentLink).not.to.be.null;
});

it('listLineItems method', async function() {
const lineItems = await stripe.paymentLinks.listLineItems('pl_xyz');
expect(lineItems).not.to.be.null;
});

it('retrieve method', async function() {
const paymentLink = await stripe.paymentLinks.retrieve('pl_xyz');
expect(paymentLink).not.to.be.null;
});
});

0 comments on commit 4ebff5b

Please sign in to comment.