Skip to content

False positive #95

Closed
Closed
@lagden

Description

@lagden

Hi everyone!

I've got a false positive.

The AVA must have an option in package.json to disable Babel or possibility to config.

What happened!
I had written an library in ES6, but I decide change to current javascript and in the middle of recoding I forgot to remove:

function consulta(cep, timeout = 10000) {
  //...
}

I ran the test and everything is ok.
So, I used the library in other app and 🐛

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcurrent functionality does not work as desired

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions