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

Appearance settings

🪲 [Fix]: Update test to adjust output rendering#10

Merged
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainPSModule/Markdown:mainfrom
fixTestsPSModule/Markdown:fixTestsCopy head branch name to clipboard
Mar 8, 2025
Merged

🪲 [Fix]: Update test to adjust output rendering#10
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainPSModule/Markdown:mainfrom
fixTestsPSModule/Markdown:fixTestsCopy head branch name to clipboard

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Mar 8, 2025

Copy link
Copy Markdown
Member

Description

This pull request includes a small change to the tests/Markdown.Tests.ps1 file. The change configures the PowerShell output rendering style before and after running tests to ensure consistent output formatting. This to ensure that comparison can be done without counting in rendering.

  • Added BeforeAll block to set $PSStyle.OutputRendering to 'Host' before tests run.
  • Added AfterAll block to reset $PSStyle.OutputRendering to 'Ansi' after tests complete.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Copilot AI review requested due to automatic review settings March 8, 2025 09:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@github-actions

github-actions Bot commented Mar 8, 2025

Copy link
Copy Markdown

Module Markdown - v1.2.1 published to the PowerShell Gallery.

@github-actions

github-actions Bot commented Mar 8, 2025

Copy link
Copy Markdown

GitHub release for Markdown v1.2.1 has been created.

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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.