- Add test fixture with seededDb for predictable test data - Include 5 entries: tasks and thoughts with various states - Include 3 tags with entry-tag relationships - Export extended test with fixtures from tests/e2e/index.ts - Install drizzle-seed dependency
8 lines
222 B
TypeScript
8 lines
222 B
TypeScript
/**
|
|
* E2E test exports with database fixtures
|
|
*
|
|
* Import { test, expect } from this file to get tests with seeded database.
|
|
*/
|
|
export { test, testData } from './fixtures/db';
|
|
export { expect } from '@playwright/test';
|