Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SSR] Add test for decorators within a mixin class #4962

Open
nolanlawson opened this issue Nov 26, 2024 · 0 comments
Open

[SSR] Add test for decorators within a mixin class #4962

nolanlawson opened this issue Nov 26, 2024 · 0 comments
Labels
SSR tests Up for grabs Issues that are relatively small, self-contained, and ready for implementation

Comments

@nolanlawson
Copy link
Collaborator

nolanlawson commented Nov 26, 2024

Follow-up to https://github.com/salesforce/lwc/pull/4942/files#r1858956004

Add a fixture test in engine-server/src/_tests__/fixtures like this:

export const FancyMixin = Class => {
    return class extends Class {
      @api foo
    }
}

We should test that the foo prop is actually exposed.

@nolanlawson nolanlawson added the Up for grabs Issues that are relatively small, self-contained, and ready for implementation label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SSR tests Up for grabs Issues that are relatively small, self-contained, and ready for implementation
Projects
None yet
Development

No branches or pull requests

1 participant