Skip to content

Move lib/*.js files used only in tests to tests/lib (or something) #143

Description

@JasonEtco

While reviewing github/docs-internal#15734, I had a difficult time grokking which code was used during runtime vs. only in tests/local scripts. I've thought that a couple of times - we don't currently have a clear separation of that code. Generally speaking, lib is used for runtime code - stuff to run the server. Code solely used for tests often lives in like a tests/helpers directory or something.

Interested in how y'all feel @github/docs-engineering, if this is just me or if others have felt this confusion as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineeringWill involve Docs EngineeringstaleThere is no recent activity on this issue or pull request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions