Skip to content

Add unit tests for baked‑in template discovery/filtering #1850

@miantalha45

Description

@miantalha45

The baked‑in template helpers in generator/apps/generator/lib/templates/bakedInTemplates.js are core functionality, but there are no dedicated unit tests covering them. This makes it easy to regress template discovery and filtering behavior without noticing.

What to add

  • Tests for listBakedInTemplates (no filter, single filter, combined filters)
  • Tests for isCoreTemplate (existing + missing names)
  • Tests for getTemplate (path resolution + fallback)

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