Skip to content

Commit

Permalink
feat: Out-JSON ( Fixes #727 )
Browse files Browse the repository at this point in the history
    Adding Example
  • Loading branch information
StartAutomating authored and StartAutomating committed Mar 9, 2024
1 parent 37c681e commit ad4c40b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Tests/Examples/Template.HTML.CustomElement.examples.tests.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

describe 'Template.HTML.CustomElement' {
it 'Template.HTML.CustomElement Example 1' {
Template.HTML.CustomElement -ElementName hello-world -Template "<p>Hello, World!</p>" -OnConnected "
console.log('Hello, World!')
"
Template.HTML.Element -Name "hello-world"
}
}

0 comments on commit ad4c40b

Please sign in to comment.