Replies: 1 comment 1 reply
-
This also occurs if I mock react components as below: jest.mock('./demo-component', () => {
function MockedComponent(props) {
return (
<div>
demo
</div>
);
}
return {
__esModule: true,
DemoComponent: MockedComponent,
};
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a mock helper that creates mocked react components and is implemented as below:
This works fine when running
bit test
but for the tests ran withbit tag
after the component has compiled I get the following error:Bit is compiling the component into the following:
Which part of the Bit build pipeline is causing this?
Beta Was this translation helpful? Give feedback.
All reactions