From d9c4326778ec6de85fdbc55aa282bc4ff1d236d5 Mon Sep 17 00:00:00 2001 From: Adam Mcgrath Date: Tue, 15 Aug 2023 11:28:21 +0100 Subject: [PATCH] Fix tests --- test/management/jobs.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/management/jobs.test.ts b/test/management/jobs.test.ts index 606a84016..032dd0391 100644 --- a/test/management/jobs.test.ts +++ b/test/management/jobs.test.ts @@ -386,7 +386,8 @@ describe('JobsManager', () => { describe('#importUsers with JSON data', () => { let data: PostUsersImportsData; - beforeEach(() => { + beforeEach(async () => { + const Blob = await getBlobCls(); data = { users: new Blob([fs.readFileSync(usersFilePath)], { type: 'application/json' }), connection_id: 'con_test',