Skip to content

Refactor fixture tests so they don't generate a single giant snapshot file #1142

@bradzacher

Description

@bradzacher

Spawning off of #1141.

The fixture snapshots are pretty much impossible to read, and them being in one file makes the diff really hard to understand (which snapshot is which file?).

Also the snapshot format (jest's default object serialiser) makes it harder to read by adding in Object and Array everywhere.

Need to refactor all of this so that:

  • each fixture test is output its own snapshot file
  • the snapshot formatter outputs as pure JSON

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthas prthere is a PR raised to close thispackage: parserIssues related to @typescript-eslint/parserpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy