diff --git a/packages/plugins/@nocobase/plugin-data-source-manager/src/server/__tests__/data-sources.test.ts b/packages/plugins/@nocobase/plugin-data-source-manager/src/server/__tests__/data-sources.test.ts index 18d7c0b74b..45e810d35c 100644 --- a/packages/plugins/@nocobase/plugin-data-source-manager/src/server/__tests__/data-sources.test.ts +++ b/packages/plugins/@nocobase/plugin-data-source-manager/src/server/__tests__/data-sources.test.ts @@ -213,6 +213,7 @@ describe('data source', async () => { options: {}, }, }); + await waitSecond(1000); expect(loadFn).toBeCalledTimes(1); @@ -267,6 +268,8 @@ describe('data source', async () => { }, }, }); + + await waitSecond(1000); }); it('should get data source collections', async () => {