The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix assertions for string templates
TzeYiingd59b4b307ec6
diff --git a/studio/tests/pages/projects/Logs.utils.test.js b/studio/tests/pages/projects/Logs.utils.test.jsindex b74f812e17b..ffb5e258a44 100644--- a/studio/tests/pages/projects/Logs.utils.test.js+++ b/studio/tests/pages/projects/Logs.utils.test.js@@ -46,7 +46,7 @@ describe.each(Object.values(LogsTableName))('%s', (table) => {? [{filter: { [root]: { [child]: false } },- excludes: [root, child, stringTemplateKey, templates[stringTemplateKey], '()'],+ excludes: [templates[stringTemplateKey], '()'],},]: []),@@ -57,9 +57,6 @@ describe.each(Object.values(LogsTableName))('%s', (table) => {expect(generated).not.toMatch(/function[ A-Za-z_-]+\(.+\).+\{.+return.+\}/)expect(generated).not.toMatch(/\=\>|\$\{.+\}/)expect(generated).not.toContain('return')- if (stringTemplateKey) {- console.log(generated)- }contains.forEach((str) => expect(generated).toContain(str))excludes.forEach((str) => expect(generated).not.toContain(str))})