We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72ced6 commit d371999Copy full SHA for d371999
tests/resources/TaxPayments.spec.ts
@@ -24,9 +24,11 @@ describe("Abound Tax Payments", () => {
24
25
describe("create", () => {
26
it("returns a promise that resolves to a created tax payment on success", async () => {
27
+ const year = String(new Date().getFullYear());
28
+
29
const createdTaxPayment: AboundResponse<TaxPayment> =
30
await abound.taxPayments.create(TEST_USER_ID, {
- year: "2020",
31
+ year,
32
period: TaxPeriod.Q1,
33
amount: 450.22,
34
entity: TaxPaymentEntity.IRS,
@@ -45,7 +47,7 @@ describe("Abound Tax Payments", () => {
45
47
"period": "Q1",
46
48
"status": "created",
49
"taxPaymentId": "taxPaymentId_test614d255d3048f6f7b3b5bb219b18f0f065d3",
- "year": "2020",
50
+ "year": "${year}",
51
}
52
`);
53
});
0 commit comments