altinn-studio
altinn-studio copied to clipboard
Generating of new yarn.lock files makes our unit-tests to fail
If we remove the yarn.lock file and then run yarn install again to make a new one, our unit tests will break with the error message "Act is not configured for this environment."
Also, according to RTL's suggestion, it's best not to use the act function to wrap user events or fire event that are triggered. If we remove the act wrapping, our unit tests will fail, and we'll get a warning that says the action isn't properly wrapped within the act. We need to look into why this is happening and fix our tests.
@framitdavid is this issue still relevant?
Let me cross-check this tomorrow. I'll close it tomorrow if it's not relevant anymore. 👍