From 085043dd7c2bac264042829003819266773335a6 Mon Sep 17 00:00:00 2001 From: Tigger Kindel Date: Sun, 23 Jul 2023 17:53:58 -0600 Subject: [PATCH] pester 4.10.1 2 --- .github/workflows/publish.yml | 1 + Tests/Public/f7_history.Tests.ps1 | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7512678..aad8030 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -88,6 +88,7 @@ jobs: run: | Install-Module -Name Microsoft.PowerShell.ConsoleGuiTools -Force -SkipPublisherCheck -Scope CurrentUser Install-Module -Name PSReadLine -Force -SkipPublisherCheck -Scope CurrentUser + Install-Module -Name Pester -RequiredVersion "4.10.1" -Force -SkipPublisherCheck -Scope CurrentUser - name: Run Pester Tests uses: PoshCode/Actions/pester@v1 diff --git a/Tests/Public/f7_history.Tests.ps1 b/Tests/Public/f7_history.Tests.ps1 index 7c13c9b..b78edc4 100644 --- a/Tests/Public/f7_history.Tests.ps1 +++ b/Tests/Public/f7_history.Tests.ps1 @@ -1,7 +1,4 @@ -BeforeAll { - Write-Host "BeforeAll - Importing F7History" - Import-Module F7History -} +#requires -Module F7History Describe "f7_history" { Context "The f7_history function" {