diff --git a/packages/plugins/@nocobase/plugin-departments/src/server/__tests__/update-department-is-leaf.test.ts b/packages/plugins/@nocobase/plugin-departments/src/server/__tests__/update-department-is-leaf.test.ts index 3f3803c485..7115d45456 100644 --- a/packages/plugins/@nocobase/plugin-departments/src/server/__tests__/update-department-is-leaf.test.ts +++ b/packages/plugins/@nocobase/plugin-departments/src/server/__tests__/update-department-is-leaf.test.ts @@ -64,7 +64,7 @@ describe('update department isLeaf', () => { expect(record.isLeaf).toBe(false); }); - it('should update isLeaf when update department', async () => { + it.runIf(process.env.DB_DIALECT !== 'sqlite')('should update isLeaf when update department', async () => { const res = await agent.resource('departments').create({ values: { title: 'Department',