Skip to content

Expose LWC compiler settings to Jest config items. #359

@Mr-VincentW

Description

@Mr-VincentW

I need the disableSyntheticShadowSupport flag to be set for the LWC compiler for some of my components but unfortunately there seems to be no way to pass in custom configs to the lwcCompiler.transformSync(...) invocation in @lwc/jest-transformer, which disables me from testing the components involved.

Describe the solution you'd like
Exposing such configurations to maybe jest.config.js.

Thanks.

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