We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e8ee46 commit 14202daCopy full SHA for 14202da
JSON-LD.tests.ps1
@@ -0,0 +1,14 @@
1
+describe 'JSON-LD' {
2
+ context 'JSON-LD is a standard for embedding information in web pages' {
3
+ it 'can get information about a movie' {
4
+ $result = Get-JsonLD -Url 'https://www.imdb.com/title/tt0211915/'
5
+ $result.pstypenames | Should -Not -BeNullOrEmpty
6
+ $result.pstypenames | Should -Contain 'https://schema.org/Movie'
7
+
8
+ }
9
+ it 'can get information a schema' {
10
+ $result = Get-JsonLD -Url 'https://schema.org/Movie'
11
+ $result.'@graph' | Should -Not -BeNullOrEmpty
12
13
14
+}
0 commit comments