Skip to content

Commit 8191033

Browse files
author
James Brundage
committed
test: Start-Htmx ( Fixes #7 )
Waiting a second after launch in a workflow
1 parent 343ca8c commit 8191033

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

HtmxPS.tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ describe HtmxPS {
2424
$startedLocalJob = Start-Htmx -Htmx (
2525
htmx button "Click Me" hx-on:click="alert('Thanks, I needed that!')"
2626
) -ServerUrl "http://127.0.0.1:8080/"
27+
Start-Sleep -Seconds 1
2728
Invoke-RestMethod -Uri $startedLocalJob.ServerUrl
2829
$startedLocalJob | Stop-Htmx
2930
$startedLocalJob | Remove-Job

0 commit comments

Comments
 (0)