Skip to content

Document sourcemap support for transforms #5113

Closed
@SimenB

Description

@SimenB

Do you want to request a feature or report a bug?
Docs change.

What is the current behavior?
The added sourcemap support in #3458 is not documented, see http://facebook.github.io/jest/docs/en/configuration.html#transform-object-string-string.

/cc @felipeochoa

If the current behavior is a bug, please provide the steps to reproduce and
either a repl.it demo through https://repl.it/languages/jest or a minimal
repository on GitHub that we can yarn install and yarn test.

N/A

What is the expected behavior?
It might be enough to update e.g. the typescript example, or create a separate example entirely. I had to read the issue description of #3458 to know that I can return {source: '', map: ''}.

Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions