Skip to content

"yarn test" - Command "test" not found #6

@faxg

Description

@faxg

Maybe I'm missing something super obvious, but:

  • Create new plugin project: npx create-payload-app@latest -t plugin -n myPlugin
  • cd myPlugin
  • yarn test

leads to ===>

$ cd dev && yarn test error Command "test" not found.

Looking at the package.json inside the dev folder explains the error - there is no "test" script there.

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