Skip to content

Tests refactor: Move all unit tests to "test/unit" folder #8478

@medikoo

Description

@medikoo

Use case description

Removing tests from folders in which we keep implementation will:

  • Make implementation folders cleaner and less noisy
  • Will allow to easily reduce the package publication size

Proposed solution

  • Move all test files one by one into test/unit folder, with help of movejs utility (it ensures efficient require paths rewrite)
  • Update npm test command so only test/unit folder is search for tests

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions