Skip to content

it() calls with a timeout are indented #5061

@j-f1

Description

@j-f1

Prettier 1.14.2
Playground link

--parser babylon

Input:

it('Handles at least 10k untracked files without failing', async () => {
  hello()
}, 25000)

Output:

it(
  "Handles at least 10k untracked files without failing",
  async () => {
    hello();
  },
  25000
);

Expected behavior:

Same as input?

Encountered in desktop/desktop#5528.

Metadata

Metadata

Assignees

Labels

lang:javascriptIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions