feat: add configurable navigation
1 file changed, 2 insertions(+), 0 deletions(-)
changed files
M test/app.test.js → test/app.test.js
@@ -43,6 +43,8 @@ const $ = parseResponse(res); t.is($("head > title").text(), "John Doe", "head title is site author"); t.is($("main").length, 1, "only one <main> tag"); + t.is($("nav a").first().text(), "Home", "nav link has text"); + t.is($("nav a").first().attr("href"), "/", "nav links to homepage"); const options = toMicroformatsOptions($); const count = await mf.countAsync(options);