Skip to content

testOptions aren't propagated through some of the test methods #581

Open
@SKaistrenko

Description

@SKaistrenko

applyTransform relies on testOptions for a parser option.
At the same time defineSnapshotTestFromFixture, defineSnapshotTest, runSnapshotTest (maybe others) don't propagate user-supplied testOptions.

A possible work-around is to run export the parser const from the transformer module, but that limit the ability to use the module with multiple transformers (e.g babylon and ts)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions