diff --git a/packages/server/src/api/routes/tests/search.spec.ts b/packages/server/src/api/routes/tests/search.spec.ts index cf3e2f6c1b..110899e292 100644 --- a/packages/server/src/api/routes/tests/search.spec.ts +++ b/packages/server/src/api/routes/tests/search.spec.ts @@ -176,8 +176,8 @@ describe.each([ return viewId }, ], - ])("from %s", (tableOrView, createTableOrView) => { - const isView = tableOrView === "view" + ])("from %s", (sourceType, createTableOrView) => { + const isView = sourceType === "view" if (isView && isLucene) { // Some tests don't have the expected result in views via lucene, and given that it is getting deprecated, we exclude them from the tests