From 550562ec8b147439689bb3d4abdc406ace54a7db Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 2 Jul 2017 15:55:24 +0200 Subject: test: Remove duplicated test assertions --- test/app.test.js | 10 ---------- 1 file changed, 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
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); -- cgit 1.4.1