11 lines
308 B
TypeScript
11 lines
308 B
TypeScript
import { describe, it, expect } from 'vitest';
|
|
import { db } from '../src/db/client';
|
|
import { user } from '../src/db/schema';
|
|
|
|
describe('database', () => {
|
|
it('can query the migrated user table (empty)', async () => {
|
|
const rows = await db.select().from(user);
|
|
expect(rows).toEqual([]);
|
|
});
|
|
});
|