From 55fd02b67abcb4c61cba33e2de51dbcb8d86d1e8 Mon Sep 17 00:00:00 2001 From: Thomas Rogers Date: Tue, 20 Jun 2023 09:20:43 +0200 Subject: [PATCH] Fix Tests --- .../test/data}/the-atlantic-article.html | 0 packages/content-handler/test/the-atlantic-handler.test.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename packages/{content-fetch/test => content-handler/test/data}/the-atlantic-article.html (100%) diff --git a/packages/content-fetch/test/the-atlantic-article.html b/packages/content-handler/test/data/the-atlantic-article.html similarity index 100% rename from packages/content-fetch/test/the-atlantic-article.html rename to packages/content-handler/test/data/the-atlantic-article.html diff --git a/packages/content-handler/test/the-atlantic-handler.test.ts b/packages/content-handler/test/the-atlantic-handler.test.ts index d83d59964..f97f20884 100644 --- a/packages/content-handler/test/the-atlantic-handler.test.ts +++ b/packages/content-handler/test/the-atlantic-handler.test.ts @@ -31,7 +31,7 @@ describe('Testing the atlantic opening', () => { expect(response.dom?.querySelector('[data-event-module="article body"]')).toBeEmptyDOMElement() }); - it ('should append a new div, and add the article content inside', () => { + it ('should append a new div, and add the article content inside', async() => { const response = await new TheAtlanticHandler().preHandle( 'https://theatlantic.com/article/' );