Skip to content

hereby runtests --no-typecheck --tests 'Public API' produces bad baselines if not preceded by npm run build #51774

Open
@andrewbranch

Description

@andrewbranch

I guess running the tests tends to skip .d.ts emit for speed, but that emit is necessary for saving the API baseline. Consequently it’s very easy to accept and commit out-of-sync API baselines. I’m not sure what the best fix is here. @jakebailey thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfrastructureIssue relates to TypeScript team infrastructure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions