Skip to content

Crash when running test-worker without AVA CLI #540

@vadimdemedes

Description

@vadimdemedes

Stack trace:

ava/index.js:26
    log.write();
        ^

TypeError: log.write is not a function
    at Object.<anonymous> (ava/index.js:26:6)

Caused by out-dated code: https://github.com/sindresorhus/ava/blob/master/index.js#L26-L27.
Should be updated to use console.error with chalk, because Logger was adapted for reporting tests.

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