Functions/Get-Puppeteer_LaunchChromeBrowser.Tests.ps1

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

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

    it "returns the code for launching the chrome browser" {
        # Call the function
        $output = Get-Puppeteer_LaunchChromeBrowser

        # Verify the output
        $output | Should Be "const browser = await puppeteer.launch(chromeBrowserOptions);"
    }
}