Skip to content

Commit

Permalink
Update generated code for v277
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Mar 23, 2023
1 parent 39ca0f9 commit 49ba947
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/resources/generated_examples_test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3078,3 +3078,22 @@ describe('WebhookEndpoints', function() {
expect(webhookEndpoint).not.to.be.null;
});
});

describe('Tax.Transactions', function() {
it('createFromCalculation method', async function() {
const transaction = await stripe.tax.transactions.createFromCalculation({
calculation: 'xxx',
reference: 'yyy',
});
expect(transaction).not.to.be.null;
});
});

describe('Tax.Calculations', function() {
it('listLineItems method', async function() {
const calculationLineItems = await stripe.tax.calculations.listLineItems(
'xxx'
);
expect(calculationLineItems).not.to.be.null;
});
});

0 comments on commit 49ba947

Please sign in to comment.