summary refs log tree commit diff stats
path: root/test/snapshots
diff options
context:
space:
mode:
authorAlan Pearce2017-07-04 21:03:24 +0200
committerAlan Pearce2017-07-04 21:03:24 +0200
commit9d601e206bdad2c384f2328a14fea8c0f5428ca9 (patch)
treef83086a1139ea84393ebe30436f30205f9750024 /test/snapshots
parente7b08b1dfe3f2a2596deb6e2a72bb79805d3708f (diff)
downloadhomestead-9d601e206bdad2c384f2328a14fea8c0f5428ca9.tar.lz
homestead-9d601e206bdad2c384f2328a14fea8c0f5428ca9.tar.zst
homestead-9d601e206bdad2c384f2328a14fea8c0f5428ca9.zip
feat: Add posts listing
Diffstat (limited to 'test/snapshots')
-rw-r--r--test/snapshots/app.test.js.md68
-rw-r--r--test/snapshots/app.test.js.snapbin1550 -> 1658 bytes
2 files changed, 67 insertions, 1 deletions
diff --git a/test/snapshots/app.test.js.md b/test/snapshots/app.test.js.md
index a595585..02eac70 100644
--- a/test/snapshots/app.test.js.md
+++ b/test/snapshots/app.test.js.md
@@ -190,4 +190,70 @@ Generated by [AVA](https://ava.li).
           '/css/code.css',
         ],
       },
-    }
+    
+
+## posts
+
+> should contain relevant microformats data
+
+    {
+      items: [
+        {
+          properties: {
+            name: [
+              'John Doe',
+            ],
+            photo: [
+              '/static/johndoe.jpg',
+            ],
+            url: [
+              '/',
+            ],
+          },
+          type: [
+            'h-card',
+          ],
+        },
+        {
+          children: [
+            {
+              properties: {
+                name: [
+                  'This is a test',
+                ],
+                published: [
+                  '2017-01-01T00:00:00.000Z',
+                ],
+                url: [
+                  '/post/testfile',
+                ],
+              },
+              type: [
+                'h-entry',
+              ],
+              value: 'This is a test Sunday, January 1, 2017',
+            },
+          ],
+          properties: {
+            name: [
+              'Posts ยท John Doe',
+            ],
+          },
+          type: [
+            'h-feed',
+          ],
+        },
+      ],
+      'rel-urls': {
+        '/css/code.css': {
+          rels: [
+            'stylesheet',
+          ],
+        },
+      },
+      rels: {
+        stylesheet: [
+          '/css/code.css',
+        ],
+      },
+    }
\ No newline at end of file
diff --git a/test/snapshots/app.test.js.snap b/test/snapshots/app.test.js.snap
index e356c77..b7ca373 100644
--- a/test/snapshots/app.test.js.snap
+++ b/test/snapshots/app.test.js.snap
Binary files differ