Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions powershell/tests/functions/golden/Golden.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

Describe 'Maester 2.x golden fixtures' -Tag 'Golden' {
BeforeAll {
# The tag context below reaches into the module with InModuleScope, so this file needs the module
# loaded. Without this it passes only when another test file in the same run imported it first.
Import-Module $PSScriptRoot/../../../Maester.psd1 -Force
$repoRoot = (Resolve-Path "$PSScriptRoot/../../../..").Path
$goldenRoot = Join-Path $repoRoot 'powershell/tests/fixtures/golden'
$exporter = Join-Path $repoRoot 'build/golden/Export-MtGoldenFixture.ps1'
Expand Down
Loading