Commit 7de110f
authored
🪲 [Fix]: Update test to adjust output rendering (#10)
## 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
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [x] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] 1 parent 00fb1f7 commit 7de110f
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
245 | 249 | | |
246 | 250 | | |
247 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
0 commit comments