From 44dd44dd58dcf17b7f42236ae9afb75151424dc3 Mon Sep 17 00:00:00 2001 From: Thomas Rogers Date: Tue, 20 Jun 2023 10:26:53 +0200 Subject: [PATCH] update comments on tests --- packages/content-handler/test/the-atlantic-handler.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/content-handler/test/the-atlantic-handler.test.ts b/packages/content-handler/test/the-atlantic-handler.test.ts index d74f0587e..e922f2554 100644 --- a/packages/content-handler/test/the-atlantic-handler.test.ts +++ b/packages/content-handler/test/the-atlantic-handler.test.ts @@ -37,7 +37,7 @@ describe('Testing the atlantic opening', () => { 'https://theatlantic.com/article' ); - // We grab the title from the doucment. + // We name the div to ensure we can validate that it has been inserted. expect(response.dom?.getElementById('prehandled')).not.to.be.null }) @@ -46,7 +46,7 @@ describe('Testing the atlantic opening', () => { 'https://theatlantic.com/article' ); - // We grab the title from the doucment. + // This exists in the HTML, but we remove it when preparsing. expect(response.dom?.getElementsByClassName('ArticleRelatedContentModule_root__BBa6g').length).to.eql(0) }) })