From cff6bcc31d59ce9957567cc05c1ed7e364fb40ca Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 5 Jul 2017 22:15:03 +0200 Subject: Add rel=me links --- test/snapshots/app.test.js.md | 76 ++++++++++++++++++++++++++++++++++++---- test/snapshots/app.test.js.snap | Bin 1658 -> 1880 bytes 2 files changed, 70 insertions(+), 6 deletions(-) (limited to 'test/snapshots') diff --git a/test/snapshots/app.test.js.md b/test/snapshots/app.test.js.md index 02eac70..599fe22 100644 --- a/test/snapshots/app.test.js.md +++ b/test/snapshots/app.test.js.md @@ -62,8 +62,24 @@ Generated by [AVA](https://ava.li). 'stylesheet', ], }, + 'https://twitter.com/johndoe': { + rels: [ + 'me', + ], + text: 'Twitter', + }, + 'mailto:johndoe@johndoe.org': { + rels: [ + 'me', + ], + text: 'johndoe@johndoe.org', + }, }, rels: { + me: [ + 'mailto:johndoe@johndoe.org', + 'https://twitter.com/johndoe', + ], stylesheet: [ '/css/code.css', ], @@ -118,15 +134,31 @@ Generated by [AVA](https://ava.li). 'stylesheet', ], }, + 'https://twitter.com/johndoe': { + rels: [ + 'me', + ], + text: 'Twitter', + }, + 'mailto:johndoe@johndoe.org': { + rels: [ + 'me', + ], + text: 'johndoe@johndoe.org', + }, }, rels: { + me: [ + 'mailto:johndoe@johndoe.org', + 'https://twitter.com/johndoe', + ], stylesheet: [ '/css/code.css', ], }, } -## tags +## posts > should contain relevant microformats data @@ -170,7 +202,7 @@ Generated by [AVA](https://ava.li). ], properties: { name: [ - 'A · John Doe', + 'Posts · John Doe', ], }, type: [ @@ -184,15 +216,31 @@ Generated by [AVA](https://ava.li). 'stylesheet', ], }, + 'https://twitter.com/johndoe': { + rels: [ + 'me', + ], + text: 'Twitter', + }, + 'mailto:johndoe@johndoe.org': { + rels: [ + 'me', + ], + text: 'johndoe@johndoe.org', + }, }, rels: { + me: [ + 'mailto:johndoe@johndoe.org', + 'https://twitter.com/johndoe', + ], stylesheet: [ '/css/code.css', ], }, - + } -## posts +## tags > should contain relevant microformats data @@ -236,7 +284,7 @@ Generated by [AVA](https://ava.li). ], properties: { name: [ - 'Posts · John Doe', + 'A · John Doe', ], }, type: [ @@ -250,10 +298,26 @@ Generated by [AVA](https://ava.li). 'stylesheet', ], }, + 'https://twitter.com/johndoe': { + rels: [ + 'me', + ], + text: 'Twitter', + }, + 'mailto:johndoe@johndoe.org': { + rels: [ + 'me', + ], + text: 'johndoe@johndoe.org', + }, }, rels: { + me: [ + 'mailto:johndoe@johndoe.org', + 'https://twitter.com/johndoe', + ], 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 b7ca373..dd02042 100644 Binary files a/test/snapshots/app.test.js.snap and b/test/snapshots/app.test.js.snap differ -- cgit 1.4.1