Skip to content

improve test coverage of new check_restrictions #613

@JounQin

Description

@JounQin

It's concerning that these new check_restrictions calls are not covered by tests. I doubt they are aligned to enhanced-resolve?

The tests are same as https://github.com/webpack/enhanced-resolve/blob/main/test/restrictions.test.js

I meant we probably need more tests to cover these new checks, to avoid regressions in the future. I try to make all code paths covered by tests.

Originally posted by @Boshen in #604 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions