diff --git a/packages/nocodb/tests/unit/rest/tests/formula.test.ts b/packages/nocodb/tests/unit/rest/tests/formula.test.ts index 378d278086..c00167cb80 100644 --- a/packages/nocodb/tests/unit/rest/tests/formula.test.ts +++ b/packages/nocodb/tests/unit/rest/tests/formula.test.ts @@ -65,6 +65,11 @@ function formulaRegExpBased() { }); it('Type: REGEX_MATCH ', async () => { + // if not pg or mysql, skip regex test since it is not implemented for other databases + if (!['pg', 'mysql2', 'mysql'].includes(base.sources[0].type)) { + return; + } + const formulaList = [ `REGEX_MATCH("123-45-6789", "\\d{3}-\\d{2}-\\d{4}")`, 'REGEX_MATCH("123-45-6789", "\\d{3}-\\d{2}-\\d{4}")',