mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(departments): test error
This commit is contained in:
parent
181c24c2a3
commit
18791bfe2d
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user