mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-31 02:20:48 +00:00
aa384df506
add dot source base.ps1 for lower tests.
18 lines
271 B
PowerShell
18 lines
271 B
PowerShell
Param([String]$tag, [Int]$num=1)
|
|
Import-Module ..\lib\Voicemeeter.psm1
|
|
. ..\lib\base.ps1
|
|
|
|
try
|
|
{
|
|
$vmr = Get-RemotePotato
|
|
|
|
1..$num | ForEach-Object {
|
|
Write-Host "Running test $_ of $num"
|
|
Invoke-Pester -Tag $tag
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
$vmr.Logout()
|
|
}
|