Functions/Get-Puppeteer_CallFunction.Tests.ps1

describe "BitTitan.Runbooks.UIAutomation/Get-Puppeteer_CallFunction" -Tag "module", "unit" {

    # Import the function to test
    . "$($PSScriptRoot)\Get-Puppeteer_CallFunction.ps1"

    it "returns the code to call a function" {
        # Call the function
        $output = Get-Puppeteer_CallFunction -FunctionName "FooBar"

        # Verify the output
        $output | Should Be "FooBar();"
    }
}