Skip to content

codemod: run meteor/v3/call-async#17

Draft
mohab-sameh wants to merge 1 commit into
fredmaiaarantes:2.x.xfrom
mohab-sameh:codemod/call-async
Draft

codemod: run meteor/v3/call-async#17
mohab-sameh wants to merge 1 commit into
fredmaiaarantes:2.x.xfrom
mohab-sameh:codemod/call-async

Conversation

@mohab-sameh
Copy link
Copy Markdown

assert.equal(Tasks.find().count(), 0);
});

it("can't delete task if not authenticated", () => {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
it("can't delete task if not authenticated", () => {
it("can't delete task if not authenticated", async () => {

Could the codemod add the missing async on the context of the function where the await is added?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#18, sorry for reverting back very late, I have updated the codemod accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants