diff --git a/apps/meteor/tests/e2e/imports.spec.ts b/apps/meteor/tests/e2e/imports.spec.ts index 93f377ebc0ac..5b7c54316758 100644 --- a/apps/meteor/tests/e2e/imports.spec.ts +++ b/apps/meteor/tests/e2e/imports.spec.ts @@ -50,7 +50,7 @@ const usersCsvsToJson = async (): Promise => { ); }; -const countDmMessages = async (): Promise => ( +const countDmMessages = (): Promise => ( new Promise((resolve) => fs.createReadStream(dmMessagesCsvDir) .pipe(parse({ delimiter: ',' })) @@ -61,7 +61,7 @@ const countDmMessages = async (): Promise => ( ) ); -const roomsCsvToJson = async (): Promise => ( +const roomsCsvToJson = (): Promise => ( new Promise((resolve) => fs.createReadStream(roomsCsvDir) .pipe(parse({ delimiter: ',' }))