-
-
Notifications
You must be signed in to change notification settings - Fork 834
bug: class extension breaks Jest unit tests #6400
Copy link
Copy link
Closed
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
4.37.1
Current Behavior
Extending a component in 4.37.1 breaks Stencil unit tests (via newSpecPage) with ReferenceError: Super constructor may only be called once. This happens in Jest 29.
Expected Behavior
Jest unit tests should not be affected by class extensions.
System Info
Steps to Reproduce
@Component(...)
class A extends B {
Code Reproduction URL
https://github.com/stenciljs/core
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels