Skip to content

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

Fix spreadsheet utils test

Joshen Lime2e534eac154
diff --git a/studio/tests/components/Editor/SpreadsheetImport.utils.test.js b/studio/tests/components/Editor/SpreadsheetImport.utils.test.js
index 0a86c93411f..a9d49688477 100644
--- a/studio/tests/components/Editor/SpreadsheetImport.utils.test.js
+++ b/studio/tests/components/Editor/SpreadsheetImport.utils.test.js
@@ -12,7 +12,7 @@ describe('SpreadsheedImport.utils: inferColumnType', () => {
expect(type).toBe('text')
})
test('should default column type to text if the first row data value is null', () => {
- const mockData = [{ id: null, name: 'bob', age: '42' }]
+ const mockData = [{ id: 'null', name: 'bob', age: '42' }]
const type = inferColumnType('id', mockData)
expect(type).toBe('text')
})