mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 17:11:13 -05:00
Fix build errors in tests
This commit is contained in:
@@ -124,9 +124,7 @@ export const moderationDependencyTestSuite: TestSuite = {
|
||||
.limit(1)
|
||||
.maybeSingle();
|
||||
|
||||
// If query succeeds, table exists
|
||||
if (testItem !== undefined || testItem === null) {
|
||||
|
||||
// If query succeeds, table exists and is accessible
|
||||
return {
|
||||
id: 'dep-002',
|
||||
name: 'Verify Submission Item Dependencies Exist',
|
||||
@@ -135,7 +133,8 @@ export const moderationDependencyTestSuite: TestSuite = {
|
||||
duration: Date.now() - startTime,
|
||||
timestamp: new Date().toISOString(),
|
||||
details: {
|
||||
columns: columns || 'verified'
|
||||
tableAccessible: true,
|
||||
testQuery: 'submission_items table verified'
|
||||
}
|
||||
};
|
||||
} catch (error) {
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
import type { PhotoSubmissionItem } from './photo-submissions';
|
||||
|
||||
// Re-export for convenience
|
||||
export type { PhotoSubmissionItem } from './photo-submissions';
|
||||
|
||||
// Core photo display interface
|
||||
export interface PhotoItem {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user