Functions/Get-Puppeteer_CloseFunctionDeclaration.Tests.ps1
describe "BitTitan.Runbooks.UIAutomation/Get-Puppeteer_CloseFunctionDeclaration" -Tag "module", "unit" { # Import the function to test . "$($PSScriptRoot)\Get-Puppeteer_CloseFunctionDeclaration.ps1" it "returns the code to close a function declaration" { # Call the function $output = Get-Puppeteer_CloseFunctionDeclaration # Verify the output $output | Should Be "}" } } |