Skip to content

Commit 1c500bd

Browse files
chore: remove unnecessary code comments part 2
1 parent f407eeb commit 1c500bd

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

test/unit/services/payments-service.spec.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ describe('PaymentsService', () => {
110110
sandbox.restore()
111111
})
112112

113-
// ─── getPendingInvoices ────────────────────────────────────────────────────
114113

115114
describe('getPendingInvoices', () => {
116115
it('returns invoices from the repository with offset 0 and limit 10', async () => {
@@ -130,7 +129,6 @@ describe('PaymentsService', () => {
130129
})
131130
})
132131

133-
// ─── getInvoiceFromPaymentsProcessor ──────────────────────────────────────
134132

135133
describe('getInvoiceFromPaymentsProcessor', () => {
136134
it('passes a string invoice ID directly to the payments processor', async () => {
@@ -170,7 +168,6 @@ describe('PaymentsService', () => {
170168
})
171169
})
172170

173-
// ─── createInvoice ────────────────────────────────────────────────────────
174171

175172
describe('createInvoice', () => {
176173
const invoiceResponse = {
@@ -217,7 +214,6 @@ describe('PaymentsService', () => {
217214
})
218215
})
219216

220-
// ─── updateInvoice ────────────────────────────────────────────────────────
221217

222218
describe('updateInvoice', () => {
223219
it('delegates to invoiceRepository.updateStatus with id and status', async () => {
@@ -240,7 +236,6 @@ describe('PaymentsService', () => {
240236
})
241237
})
242238

243-
// ─── updateInvoiceStatus ──────────────────────────────────────────────────
244239

245240
describe('updateInvoiceStatus', () => {
246241
it('returns the updated invoice from the repository', async () => {
@@ -265,7 +260,6 @@ describe('PaymentsService', () => {
265260
})
266261
})
267262

268-
// ─── confirmInvoice ───────────────────────────────────────────────────────
269263

270264
describe('confirmInvoice', () => {
271265
const makeCompletedInvoice = (overrides: Partial<Invoice> = {}): Invoice =>
@@ -425,7 +419,6 @@ describe('PaymentsService', () => {
425419
})
426420
})
427421

428-
// ─── sendInvoiceUpdateNotification ────────────────────────────────────────
429422

430423
describe('sendInvoiceUpdateNotification', () => {
431424
beforeEach(() => {

0 commit comments

Comments
 (0)