Skip to content

Split test/validators.js file to separate sub files #1791

Open
@Marcholio

Description

@Marcholio

Hi, the main test file for validator.js is currently 11k+ lines long. What do you think, could/should it be split to multiple sub files by validator for example?

So the end result could be something like:

/test
  validators.js
  /validators
    isLicensePlate.js
    isVat.js
    etc...

Would that improve the readibility of the test cases?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions