diff options
author | Alan Pearce | 2017-07-01 11:00:25 +0200 |
---|---|---|
committer | Alan Pearce | 2017-07-01 11:00:25 +0200 |
commit | 248c74916e22f397ff95944ac2596b9e40b302e5 (patch) | |
tree | a66fa1aeefd025a16b492b2b8c8cfed913b93c4d /test | |
parent | e5c2da0871ecbc92e2638dcf7dd4d15f12ddcff0 (diff) | |
download | homestead-248c74916e22f397ff95944ac2596b9e40b302e5.tar.lz homestead-248c74916e22f397ff95944ac2596b9e40b302e5.tar.zst homestead-248c74916e22f397ff95944ac2596b9e40b302e5.zip |
feat: Add photo to marked-up h-chard
Diffstat (limited to 'test')
-rw-r--r-- | test/app.test.js | 4 | ||||
-rw-r--r-- | test/testsite/static/johndoe.jpg | bin | 0 -> 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 |