mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 21:30:46 +00:00
22 lines
278 B
PowerShell
22 lines
278 B
PowerShell
|
Param(
|
||
|
[String]$tag, [Int]$num=1
|
||
|
)
|
||
|
|
||
|
try
|
||
|
{
|
||
|
. ..\lib\voicemeeter.ps1
|
||
|
|
||
|
$vmr = [Remote]::new('banana')
|
||
|
|
||
|
$vmr.Login()
|
||
|
|
||
|
1..$num | ForEach-Object {
|
||
|
Write-Host "Running test $_ of $num"
|
||
|
Invoke-Pester -Tag $tag
|
||
|
}
|
||
|
}
|
||
|
finally
|
||
|
{
|
||
|
$vmr.Logout()
|
||
|
}
|