Functions/Get-Puppeteer_ImportRequirements.Tests.ps1
describe "BitTitan.Runbooks.UIAutomation/Get-Puppeteer_ImportRequirements" -Tags "module", "unit" { # Import the function to test . "$($PSScriptRoot)\Get-Puppeteer_ImportRequirements.ps1" it "returns the code for importing the Puppeteer requirements" { # Call the function $output = Get-Puppeteer_ImportRequirements # Verify the output $output | Should Be @" const puppeteer = require('puppeteer'); "@ } } |