+
Skip to content

npm run test:cli does nothing and exits with a success code #6268

@myndzi

Description

@myndzi

#5138 bumped Jake, and as part of the migration moved to using child_process instead of jake.createExec. However, the events emitted by Jake and Node when a process exits are different, so the event handler intended to resolve the promise when the exec finishes never runs.

Since no handles hold the process open, it just exits with 0, doing nothing and performing no tests or assertions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载