Files
docs/悦/PDA(海外)/tests/pallet-progress-spacing.test.ps1
2026-09-08 14:05:30 +08:00

9 lines
341 B
PowerShell

$ErrorActionPreference = 'Stop'
$css = Get-Content -Raw -Encoding UTF8 -LiteralPath (Join-Path $PSScriptRoot '..\assets\app.css')
if (-not $css.Contains('.pallet-progress-card{margin-bottom:10px}')) {
throw 'Pallet progress card bottom spacing does not match the 10px top spacing'
}
Write-Output 'PASS: pallet progress spacing contract'