21 lines
635 B
TypeScript
21 lines
635 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
import {
|
|
tableNameBotConfig,
|
|
tableNameOrders,
|
|
tableNameProfiles,
|
|
tableNameStocks,
|
|
tableNameTransactions,
|
|
tableNameUsers
|
|
} from './const';
|
|
|
|
describe('const table names', () => {
|
|
it('exports non-empty table name constants', () => {
|
|
expect(tableNameUsers).toBe('users');
|
|
expect(tableNameStocks).toBe('entries');
|
|
expect(tableNameTransactions).toBe('trade_history');
|
|
expect(tableNameProfiles).toBe('trade_profiles');
|
|
expect(tableNameOrders).toBe('orders');
|
|
expect(tableNameBotConfig).toBe('bot_config');
|
|
});
|
|
});
|