Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

test: revert dropped exclusion

mertmit029115b5c925
diff --git a/packages/nocodb/tests/unit/rest/tests/dataApiV3/audit-log.test.ts b/packages/nocodb/tests/unit/rest/tests/dataApiV3/audit-log.test.ts
index b7f837c35b..faf08a50c5 100644
--- a/packages/nocodb/tests/unit/rest/tests/dataApiV3/audit-log.test.ts
+++ b/packages/nocodb/tests/unit/rest/tests/dataApiV3/audit-log.test.ts
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { expect } from 'chai';
-import { checkboxTypeMap, type ColumnType } from 'nocodb-sdk';
+import { checkboxTypeMap, ClientType, type ColumnType } from 'nocodb-sdk';
import {
beforeEachAttachment,
beforeEachCheckbox,
@@ -12,7 +12,7 @@ import {
import { ncAxios } from './ncAxios';
import { getUsers } from './helpers';
import type { ITestContext } from './helpers';
-import type { Column, Model } from '../../../../../src/models';
+import { Base, type Column, type Model } from '../../../../../src/models';
import type { INcAxios } from './ncAxios';
const API_VERSION = 'v3';
@@ -70,6 +70,20 @@ describe('dataApiV3', () => {
};
it('audit log', async function () {
+ const source = (
+ await (
+ await Base.get(
+ {
+ fk_workspace_id: testContext.context.fk_workspace_id,
+ base_id: testContext.base.id,
+ },
+ testContext.base.id,
+ )
+ ).getSources()
+ )[0];
+ if(source.type === ClientType.SQLITE) {
+ return;
+ }
const rsp = await ncAxiosPost({
url: `${urlPrefix}/${table.id}/records`,
body: newRecord,
@@ -88,6 +102,7 @@ describe('dataApiV3', () => {
row_id: expectedId,
},
});
+
expect(rsp2.body.list.length).to.greaterThan(0);
await ncAxiosPatch({
url: `${urlPrefix}/${table.id}/records`,