#Can you override module variables in Pester?
4 messages · Page 1 of 1 (latest)
& (gmo modulename) { $configpath = 'x' }
Could you please explain a bit what's happening here? I might be missing some knowledge about modules
It runs the scriptblock in the modules state. It allows you to modify variables among other things.