Skip to content

Commit 46d84a1

Browse files
Gilbert SanchezHeyItsGilbert
authored andcommitted
Undo show-pesterresult change
1 parent a37a657 commit 46d84a1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

PesterExplorer/Public/Show-PesterResult.ps1

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,8 @@ function Show-PesterResult {
121121

122122
# Generate new data
123123
$titlePanel = Get-TitlePanel -Item $object
124-
$panelSplat = @{
125-
List = $list
126-
SelectedItem = $selectedItem
127-
}
128-
$listPanel = Get-ListPanel @panelSplat
129-
$previewPanel = Get-PreviewPanel @panelSplat
124+
$listPanel = Get-ListPanel -List $list -SelectedItem $selectedItem
125+
$previewPanel = Get-PreviewPanel -Items $items -SelectedItem $selectedItem
130126

131127
# Update layout
132128
$layout["header"].Update($titlePanel) | Out-Null

0 commit comments

Comments
 (0)