Tests are failing on pwsh 7.4 because it stopped accepting `'System.Collections.ArrayList()'` as an argument to `New-Object`.
Removing the extra parentheses should fix the issue.
This will allow, among other things, propagation of the ErrorAction
parameter, and correctly inhibit output when needed.
This behavior is tested in a new test for Get-FeatureFlagConfigFromFile.
Fixes Lack of CmdletBinding prevents ErrorAction from propagating #53
* fix: pin Pester to 4.10.1
This makes tests work under PowerShell 6.0.4.
Also, import the FeatureFlags module first in run-tests.ps1, so that any failures in importing the module are detected early.
* fix: remove BeforeAll/AfterAll
They don't seem to work well with Pester 4.10.1.
This will remove the dependency from external assemblies in
PowerShell >= 6.1.0, and therefore increase compatibility by
removing the possibility of assembly conflicts or assembly loading
errors.