diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/app.test.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/app.test.js b/test/app.test.js index 69cea86..dfba9f8 100644 --- a/test/app.test.js +++ b/test/app.test.js @@ -42,17 +42,7 @@ test("homepage", async function(t) { const $ = parseResponse(res); t.is($("head > title").text(), "John Doe", "head title is site author"); - t.is($("h1").text(), "John Doe", "h1 is site author"); t.is($("main").length, 1, "only one <main> tag"); - t.is( - $(".h-entry:first-of-type time").text(), - "Sunday, January 1, 2017", - "first post date" - ); - t.is( - $(".h-entry:first-of-type time").attr("datetime"), - new Date("2017-01-01").toISOString() - ); const options = toMicroformatsOptions($); const count = await mf.countAsync(options); |