Skip to content

What's the best approach to test ts-morph AST transformations? #1625

@jon9090

Description

@jon9090

What's the best approach to test ts-morph AST transformations?

  1. Writing specific assertions by querying nodes?
  2. Or using snapshot testing to compare the generated source?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions