summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/app.test.js4
-rw-r--r--test/testsite/static/johndoe.jpgbin0 -> 2133 bytes
2 files changed, 3 insertions, 1 deletions
diff --git a/test/app.test.js b/test/app.test.js
index 74aeac5..f3d8f07 100644
--- a/test/app.test.js
+++ b/test/app.test.js
@@ -46,7 +46,9 @@ test("homepage", t => {
           t.deepEqual(data.items, [
             {
               properties: {
-                name: ["John Doe"]
+                name: ["John Doe"],
+                url: ["/"],
+                photo: ["/static/johndoe.jpg"]
               },
               type: ["h-card"]
             }
diff --git a/test/testsite/static/johndoe.jpg b/test/testsite/static/johndoe.jpg
new file mode 100644
index 0000000..bc7b73d
--- /dev/null
+++ b/test/testsite/static/johndoe.jpg
Binary files differ