Skip to content

Commit 83d8d8d

Browse files
committed
fix: codestyle
1 parent 23352ff commit 83d8d8d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

app/entities/token-receipt/__tests__/lib.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { describe, expect, it } from 'vitest';
22

3-
import type { FormattedReceipt } from '../types';
4-
53
import { getReceiptAmount, getReceiptMint, getReceiptSymbol } from '../lib';
4+
import type { FormattedReceipt } from '../types';
65

76
const SOL_RECEIPT: FormattedReceipt = {
87
date: { timestamp: 1700000000, utc: '2023-11-14 22:13:20 UTC' },

app/features/receipt/lib/__tests__/generate-receipt-csv.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ describe('generateReceiptCsv', () => {
120120

121121
it('should pass a Blob with CSV mime type to createObjectURL', async () => {
122122
await generateReceiptCsv(RECEIPT, SIGNATURE);
123-
// eslint-disable-next-line no-restricted-syntax -- accessing vitest mock internals for assertion
123+
124124
const blobArg = (URL.createObjectURL as ReturnType<typeof vi.fn>).mock.calls[0][0] as Blob;
125125
expect(blobArg).toBeInstanceOf(Blob);
126126
expect(blobArg.type).toBe('text/csv;charset=utf-8;');
127127
});
128128

129129
it('should pass a non-empty Blob to createObjectURL', async () => {
130130
await generateReceiptCsv(RECEIPT, SIGNATURE);
131-
// eslint-disable-next-line no-restricted-syntax -- accessing vitest mock internals for assertion
131+
132132
const blobArg = (URL.createObjectURL as ReturnType<typeof vi.fn>).mock.calls[0][0] as Blob;
133133
expect(blobArg.size).toBeGreaterThan(0);
134134
});

app/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@
139139
.zigzag {
140140
mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/21px 100%;
141141
}
142-
}
142+
}

0 commit comments

Comments
 (0)