about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-07-02 15:55:24 +0200
committerAlan Pearce2017-07-02 15:55:24 +0200
commit550562ec8b147439689bb3d4abdc406ace54a7db (patch)
tree2c41d4aee965f4d11e5c1e09126a5ce2704e110e
parentb7bf162e6c3bc834097e65936704e3eac59eb4bd (diff)
downloadhomestead-550562ec8b147439689bb3d4abdc406ace54a7db.tar.lz
homestead-550562ec8b147439689bb3d4abdc406ace54a7db.tar.zst
homestead-550562ec8b147439689bb3d4abdc406ace54a7db.zip
test: Remove duplicated test assertions
-rw-r--r--test/app.test.js10
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);