mammoth-diamond-90308
11/11/2024, 12:59 PMazure.authorization.RoleAssignment
resource, every time I added any to the test suit I receive the following error:
ReferenceError: You are trying to `import` a file after the Jest environment has been torn down
...
TypeError: azure.authorization.RoleAssignment is not a constructor
I've seen this issue in GitHub, that unfortunately is still open and seems that might be closely related, but the workaround mentioned there is not working for me - I also tried to add that resource to the pulumi mocks, but I'm not even sure if it's picked up, because I still see the reference to the "new" action
does anybody know how I can solve/workaround this issue?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by