- Add formatError() helper in CLI to safely handle unknown error types - Add uniqueTestId() helper for generating unique test identifiers - Replace String(id) with id.toString() for database ID conversions - Replace String(n) with n.toLocaleString() for user-facing number formatting - Fix TypeScript errors in test files (undefined checks, unused variables) - Update lint commands to include ast-grep scanning Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
455 B
TypeScript
20 lines
455 B
TypeScript
export { describeE2E, SKIP_DB_TESTS } from "./skip-db-tests.js";
|
|
export {
|
|
DEFAULT_TEST_AAGUID,
|
|
KNOWN_AAGUIDS,
|
|
TEST_RP,
|
|
} from "./test-constants.js";
|
|
export {
|
|
createTestDb,
|
|
createTestUser,
|
|
destroySharedDb,
|
|
destroyTestDb,
|
|
getSharedDb,
|
|
getTestDatabaseUrl,
|
|
initTestDb,
|
|
runMigrations,
|
|
truncateAllTables,
|
|
} from "./test-db.js";
|
|
export { withTestTransaction } from "./test-transaction.js";
|
|
export { uniqueTestId } from "./test-utils.js";
|