Skip to content

ignore file seems to be ignored #1617

@throrin19

Description

@throrin19

Hello,
After upgrade to nyc 18.0.0 it seems the comment to ignore file is completelly ignored for coverage :

/* istanbul ignore file @preserve */

If I replace it by the ignore next on each functions of the file, I have no problems :/ :

/* istanbul ignore next @preserve */
export const setPlaceBaseRights = async (params: Params) => {
    // ...
};

Edit : I have same problem with 17.1.0. I think the problem is with one dependency or vitest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions