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