Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Structure of tests #131

@alexander-akait

Description

@alexander-akait

Flatten (doesn't grouping same test in directory)

test
|– ...
|– Errors.test.js
|– loader.test.js (Plugin.test.js)
|– x-option.test.js
|– ...

Nested (grouping same test in directory)

test
|– Errors.test.js
|– loader.test.js (Plugin.test.js)
|
|– options
||– x.test.js
||–  ...

Also i propose rename Error.test.js to validation.test.js (because real tests with errors should be handle inside loader/Plugin and per options file to better searching test file, also plugin/loader can have a lot of test on errors and it is bad contain their in one file).

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions