When trying to use a PesterConfiguration.psd1 file it is not trying to load from the projects directory but instead from the VSCode install directory.
I have tried messing with the settings including the working directory setting for pester but nothing seems to resolve this besides hard coding the entire path from the root of my drive.
My related settings json is bellow.
{
"powershell.pester.useLegacyCodeLens": false,
"pester.suppressCodeLensNotice": true,
"pester.configurationPath": "tests\\PesterConfiguration.psd1",
"pester.runTestsInNewProcess": true
}

When trying to use a PesterConfiguration.psd1 file it is not trying to load from the projects directory but instead from the VSCode install directory.
I have tried messing with the settings including the working directory setting for pester but nothing seems to resolve this besides hard coding the entire path from the root of my drive.
My related settings json is bellow.
{ "powershell.pester.useLegacyCodeLens": false, "pester.suppressCodeLensNotice": true, "pester.configurationPath": "tests\\PesterConfiguration.psd1", "pester.runTestsInNewProcess": true }