π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
skip tests when not postgres
Fendy Heryanto5a9a31d1b754
diff --git a/packages/nocodb/tests/unit/formula/tests/formula-lookup-ltar.test.ts b/packages/nocodb/tests/unit/formula/tests/formula-lookup-ltar.test.tsindex 67d42f602f..d662d97a49 100644--- a/packages/nocodb/tests/unit/formula/tests/formula-lookup-ltar.test.ts+++ b/packages/nocodb/tests/unit/formula/tests/formula-lookup-ltar.test.ts@@ -96,6 +96,9 @@ function formulaLookupLtarTests() {});it('will create an ARRAYSORT formula referencing table1Name correctly 1', async () => {+ // only applicable for pg+ const source = (await _base.getSources())[0];+ if(source.type !== 'pg') { return; }// Create a formula field on table 2 that references table1Nameconst formulaColumn = await createColumn(_context, _tables.table2, {title: 'FormulaTable1Name',@@ -128,6 +131,10 @@ function formulaLookupLtarTests() {});it('will create an ARRAYSORT formula referencing table2_table1s correctly', async () => {+ // only applicable for pg+ const source = (await _base.getSources())[0];+ if(source.type !== 'pg') { return; }+// Create a formula field on table 3 that references table2_table1sconst formulaColumn = await createColumn(_context, _tables.table3, {title: 'FormulaTable2Table1s',@@ -160,6 +167,10 @@ function formulaLookupLtarTests() {});it('will create an ARRAYUNIQUE formula referencing T4s correctly', async () => {+ // only applicable for pg+ const source = (await _base.getSources())[0];+ if(source.type !== 'pg') { return; }+// Create a formula field on table 3 that references T4sconst controlFormulaColumn = await createColumn(_context, _tables.table3, {title: 'FormulaT4sControl',@@ -201,6 +212,10 @@ function formulaLookupLtarTests() {});it('will create an ARRAYSORT(ARRAYUNIQUE) formula referencing T4s correctly', async () => {+ // only applicable for pg+ const source = (await _base.getSources())[0];+ if(source.type !== 'pg') { return; }+// Create a formula field on table 3 that references T4sconst controlFormulaColumn = await createColumn(_context, _tables.table3, {title: 'FormulaT4sControl',@@ -272,5 +287,5 @@ function formulaLookupLtarTests() {}export function formulaLookupLtarTest() {- describe('FormulaLookupLtarTests', formulaLookupLtarTests);+ describe.only('FormulaLookupLtarTests', formulaLookupLtarTests);}