Skip to content

Repo: Source maps don't connect for ast-spec fixtures.test.ts #6116

Open
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

From #5926 (comment):

I'm confused why codecov thinks this isn't covered by tests. I can debug it locally to see the TSAbstractAccessorProperty and AccessorProperty cases being hit. Though, sourcemaps seem to not be working - maybe that's the issue?

Screenshot of debugging in VS Code, on a breakpoint in the `const result` variable below. A watch view shows type to be 'TSAbstractAccessorProperty'.

Steps to reproduce:

  1. Add a breakpoint in packages/typescript-estree/src/convert.ts
  2. Open a JavaScript Debug Terminal
  3. cd packages/ast-spec
  4. yarn jest fixtures

The breakpoint will switch to convert.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuerepo maintenancethings to do with maintenance of the repo, and not with code/docs

    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