Functions/Get-Puppeteer_LogUrl.Tests.ps1

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

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

    it "returns the code for logging the current URL to the console" {
        # Call the function
        $output = Get-Puppeteer_LogUrl

        # Verify the output
        $output | Should Be "console.log(page.url());"
    }
}