mirror of
https://github.com/acedanger/finance.git
synced 2025-12-06 07:00:13 -08:00
style: apply Biome formatting to TypeScript files (#27)
- Fix import sorting - Standardize code formatting - Apply consistent TypeScript style - Update code to match Biome configuration Part of #27
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { GET as listAccounts } from '../pages/api/accounts/index';
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { GET as getAccount } from '../pages/api/accounts/[id]/index';
|
||||
import { GET as listTransactions } from '../pages/api/accounts/[id]/transactions/index';
|
||||
import { GET as listAccounts } from '../pages/api/accounts/index';
|
||||
import { createMockAPIContext } from './setup';
|
||||
|
||||
describe('Accounts API', () => {
|
||||
@@ -48,7 +48,7 @@ describe('Accounts API', () => {
|
||||
|
||||
it('should return empty array for account with no transactions', async () => {
|
||||
const response = await listTransactions(
|
||||
createMockAPIContext({ params: { id: '999' } }) as any
|
||||
createMockAPIContext({ params: { id: '999' } }) as any,
|
||||
);
|
||||
const transactions = await response.json();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user