Welcome › Forums › Pester › Can’t find type [PesterConfiguration] in Azure DevOps pipeline
I can’t initialize $PesterConfiguration in v5 style by using
I get the error
I am using
vmImage: 'windows-latest' in a Azure Devops pipeline and update Pester to 5.0.1 using PSDepend.
This seems to be successfull:
<p class=”lang-bsh prettyprint prettyprinted urvanov-syntax-highlighter-selected”>I can’t understand why it can not find the type, locally it is working completely fine with this.</p>
Best & Thanks,
I use the same version of Windows 10 (not a VM), hence the same PowerShell version, but using Pester 5.0.3. I couldn’t reproduce this.