Functions/Get-Puppeteer_CloseChromeBrowser.Tests.ps1

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

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

    it "returns the code to close the chrome browser" {
        # Call the function
        $output = Get-Puppeteer_CloseChromeBrowser

        # Verify the output
        $output | Should Be "await browser.close();"
    }
}