Skip to content

Preview - #193

Merged
SamErde merged 20 commits into
mainfrom
preview
May 11, 2026
Merged

Preview#193
SamErde merged 20 commits into
mainfrom
preview

Conversation

@SamErde

@SamErde SamErde commented May 11, 2026

Copy link
Copy Markdown
Owner

This draft PR now represents the remaining delta after merging current main into preview and resolving the original preview conflicts with the PR-readiness fixes from #192.

Current change:

  • Updates src/Tests/Unit/Update-MkDocsNavigation.Tests.ps1 to use script-scoped variables for shared Pester BeforeAll data and clearer categorized-functions naming.

The earlier preview workflow, MkDocs navigation, manifest export, and documentation changes were superseded by #192 and are already on main.

@codacy-production

codacy-production Bot commented May 11, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

SamErde and others added 2 commits May 11, 2026 07:13
Resolve preview conflicts by keeping the PR-readiness fixes already merged to main, including the CI script location, unit test location, and manifest alias policy.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use script-scoped Pester variables for shared BeforeAll data so targeted PSScriptAnalyzer checks are clean after merging main into preview.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented May 11, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@SamErde
SamErde marked this pull request as ready for review May 11, 2026 13:45
Copilot AI review requested due to automatic review settings May 11, 2026 13:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Pester unit tests for the MkDocs navigation update script, primarily adjusting variable scoping/initialization inside test contexts.

Changes:

  • Moves module manifest path setup into the Get-CategorizedFunction test context.
  • Persists values from BeforeAll blocks using script-scoped variables for reuse across multiple It blocks.

Comment thread src/Tests/Unit/Update-MkDocsNavigation.Tests.ps1
Comment thread src/Tests/Unit/Update-MkDocsNavigation.Tests.ps1
Rename the script-scoped categorized-functions test variable to plural form so the Pester assertions read clearly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@SamErde
SamErde merged commit 968cb36 into main May 11, 2026
11 checks passed
@SamErde
SamErde deleted the preview branch May 11, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants