Skip to content

Commit

Permalink
remove not needed async declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbsilva137 committed Feb 23, 2024
1 parent 89d2302 commit 995a932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/meteor/tests/e2e/imports.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const usersCsvsToJson = async (): Promise<void> => {
);
};

const countDmMessages = async (): Promise<void> => (
const countDmMessages = (): Promise<void> => (
new Promise((resolve) =>
fs.createReadStream(dmMessagesCsvDir)
.pipe(parse({ delimiter: ',' }))
Expand All @@ -61,7 +61,7 @@ const countDmMessages = async (): Promise<void> => (
)
);

const roomsCsvToJson = async (): Promise<void> => (
const roomsCsvToJson = (): Promise<void> => (
new Promise((resolve) =>
fs.createReadStream(roomsCsvDir)
.pipe(parse({ delimiter: ',' }))
Expand Down

0 comments on commit 995a932

Please sign in to comment.