Tests/Base.Tests.ps1

1
2
3
4
5
6
7
8
9
10
11
[CmdletBinding()]
param()

$script:moduleRoot = Split-Path $PSScriptRoot -Parent

Describe 'Script Analyzer Check' {
    Context -Name 'No errors or warnings from Script Analyzer' {
        Invoke-ScriptAnalyzer -Path $script:moduleRoot -recurse | should be $null
    }
}