Skip to content

Commit

Permalink
Bump to 1.5.0 and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Jan 3, 2024
1 parent b1e0b4e commit 1936d36
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions PwshSpectreConsole.Tests/formatting/Format-SpectreJson.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@ Import-Module "$PSScriptRoot\..\TestHelpers.psm1" -Force
Describe "Format-SpectreJson" {
InModuleScope "PwshSpectreConsole" {

$data = @(
[pscustomobject]@{
Name = "John"
Age = 25
City = "New York"
IsEmployed = $true
Salary = 10
Hobbies = @("Reading", "Swimming")
Address = @{
Street = "123 Main St"
BeforeEach {
$data = @(
[pscustomobject]@{
Name = "John"
Age = 25
City = "New York"
Deep = @{
Nested = @{
Value = @{
That = @{
Is = @{
Nested = @{
Again = "Hello"
IsEmployed = $true
Salary = 10
Hobbies = @("Reading", "Swimming")
Address = @{
Street = "123 Main St"
City = "New York"
Deep = @{
Nested = @{
Value = @{
That = @{
Is = @{
Nested = @{
Again = "Hello"
}
}
}
}
}
}
State = "NY"
Zip = "10001"
}
State = "NY"
Zip = "10001"
}
}
)

BeforeEach {
)
$data | Out-Null
$testBorder = Get-RandomBoxBorder
$testColor = Get-RandomColor
$testTitle = Get-RandomString
Expand Down
2 changes: 1 addition & 1 deletion PwshSpectreConsole/PwshSpectreConsole.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'PwshSpectreConsole'

# Version number of this module.
ModuleVersion = '1.4.3'
ModuleVersion = '1.5.0'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down

0 comments on commit 1936d36

Please sign in to comment.