[ ] Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/dataplat/appveyor-lab ?
[ ] Unit test is included
[ ] Documentation
[ ] Build system
Maybe it's only my system, but the ScriptStackTrace does not contain "dbatools". I think it's because the commands are not imported from a file but a compressed file.
But "dbatools" is present in the FullyQualifiedErrorId. So we should use this.
The test passed in the past because of the way the tests import the module: They use the file by file method, so the filename and thus "dbatools" is part of the stack trace...
Type of Change
.\tests\manual.pester.ps1
)Maybe it's only my system, but the ScriptStackTrace does not contain "dbatools". I think it's because the commands are not imported from a file but a compressed file.
But "dbatools" is present in the FullyQualifiedErrorId. So we should use this.![image](https://github.com/dataplat/dbatools/assets/66946165/e61e9d30-90b4-48e1-bb65-0765e7624024)
Or is there a better way to filter?