Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit 6e999de

Browse files
Fix test for finding Pester tests in own module
1 parent ce6518c commit 6e999de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Tests/Unit/Get-OperationValidation.tests.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Describe 'Get-OperationValidation' {
2323

2424
Context "Finds proper tests" {
2525
It "Can find its own tests" {
26-
$tests = Get-OperationValidation -Modulename OperationValidation
26+
$tests = Get-OperationValidation -Path (Split-Path-Path $env:BHModulePath-Parent)
2727

2828
$tests.Count | Should be 2
2929
$tests.File -eq "PSGallery.Simple.Tests.ps1" | Should be "PSGallery.Simple.Tests.ps1"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /