fix(departments): test error

This commit is contained in:
xilesun 2025-04-16 21:18:34 +08:00
parent 181c24c2a3
commit 18791bfe2d

View File

@ -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',