Browse Source

test fix | sqlite functions LOG not supported

pull/7305/head
starbirdtech383 11 months ago
parent
commit
cc9aa247f4
  1. 14
      tests/playwright/tests/db/columns/columnFormula.spec.ts

14
tests/playwright/tests/db/columns/columnFormula.spec.ts

@ -187,16 +187,10 @@ const formulaDataByDbType = (context: NcContext, index: number) => {
}, },
{ {
formula: `LOG({CityId}) + EXP({CityId}) + POWER({CityId}, 3) + SQRT({CountryId})`, formula: `LOG({CityId}) + EXP({CityId}) + POWER({CityId}, 3) + SQRT({CountryId})`,
result: result: isPg(context)
isPg(context) || isSqlite(context) ? ['13.04566088154786', '24.74547123273205', '57.61253379902822', '126.94617671688704', '283.9609869087087']
? ['13.04566088154786', '24.74547123273205', '57.61253379902822', '126.94617671688704', '283.9609869087087'] : ['13.04566088154786', '25.137588417628013', '58.23402483297667', '127.73041108667896', '284.8714548168068'],
: [ unSupDbType: ['sqlite3'],
'13.04566088154786',
'25.137588417628013',
'58.23402483297667',
'127.73041108667896',
'284.8714548168068',
],
}, },
{ {
formula: `NOW()`, formula: `NOW()`,

Loading…
Cancel
Save