So I am in the process of splitting down large VS projects in to separate modules (built with Rollup, published to an Azure artifacts repository and locally linked via Yalc), and I am running in to an error when I try and test the smaller modules.
I currently have 2 modules (Core Module and Portal Module) which I am in the process of testing with Jest. The Core Module houses functionality which is used within the Portal Module, and the Portal module is currently importing a function exported from Core and Core is currently linked via Yalc to Portal.
Now when I run my test suite in Portal I get this error:
enter image description here
This is my RollUp config file in Portal:
enter image description here
This is my jest config in Portal, within the package.json:
enter image description here
As far as I can tell, the jest transformations are set up correctly however I still receive the error which i assume is related to babel. Any help would be massively appreciated!
Lewis Moore is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.