Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fixed failing test due to 4 keys being required for chronological mode

TzeYiingb8fd95de4066
diff --git a/studio/tests/pages/projects/LogTable.test.js b/studio/tests/pages/projects/LogTable.test.js
index 3d23edb4e2b..612ea2aafa6 100644
--- a/studio/tests/pages/projects/LogTable.test.js
+++ b/studio/tests/pages/projects/LogTable.test.js
@@ -24,6 +24,7 @@ test('can display log data', async () => {
})
test('dedupes log lines with exact id', async () => {
+ // chronological mode requires 4 columns
render(
<LogTable
data={[
@@ -31,11 +32,13 @@ test('dedupes log lines with exact id', async () => {
id: 'seome-uuid',
timestamp: 1621323232312,
event_message: 'some event happened',
+ metadata: {}
},
{
id: 'seome-uuid',
timestamp: 1621323232312,
event_message: 'some event happened',
+ metadata: {}
},
]}
/>