all repos — archive/homestead @ 550562ec8b147439689bb3d4abdc406ace54a7db

My future indieweb platform

test: Remove duplicated test assertions

Alan Pearce
commit

550562ec8b147439689bb3d4abdc406ace54a7db

parent

b7bf162e6c3bc834097e65936704e3eac59eb4bd

1 file changed, 0 insertions(+), 10 deletions(-)

changed files
M test/app.test.jstest/app.test.js
@@ -42,17 +42,7 @@
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);