-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
TypeError: createColors is not a function (Umi3) #1130
Comments
Do you know why it works with Umi4 and not Umi3? If there is a way we can make it work for you, a PR would be nice. It sounds like it has something to do with Umi. If it's using a transpiler that could be part of the challenge. The library in which that function is being called ( Whilst I appreciate the repro project (thank you!), because the issue appears to be with Umi (or at least, related to it) that would fall outside of the reasonable scope of support here - i.e. the details of why it works with one framework and not another are not something you could expect a maintainer of Pact to review. |
Thank you very much for your reply!!! |
Closing due to inactivity. |
TypeError: createColors is not a function (Umi3)
Software versions
Please provide at least OS and version of pact-js
Issue Checklist
Please confirm the following:
Expected behaviour
Run PactV3 tests in Umi(v3.5).
Actual behaviour
Our team use Umi(v3.5) as the front-end framework, but we can't run the pact tests.
We've tried to use Pact JS v9.11.1, this version can run properly in Umi(v3.5), but the matching rules in PactV2 can't meet our needs. So we want to use PactV3 in our project. In addition, Pact JS v12.1.0 can run in Umi4, but it's difficult for us to upgrade the old project.
Steps to reproduce
https://github.com/Canoe-Silhouette/pact-umi
The text was updated successfully, but these errors were encountered: