From 9e04c79dfc1bbccff246424f08b29a6ccf24d2ef Mon Sep 17 00:00:00 2001 From: scottybollinger Date: Fri, 1 Dec 2023 11:04:02 -0600 Subject: [PATCH] Fix test --- resources/web/__test__/air_gapped_template.test.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/web/__test__/air_gapped_template.test.js b/resources/web/__test__/air_gapped_template.test.js index 21330037142e3..a7f08aa01d08d 100644 --- a/resources/web/__test__/air_gapped_template.test.js +++ b/resources/web/__test__/air_gapped_template.test.js @@ -55,6 +55,13 @@ describe("air_gapped_template.html", () => { beforeAll(async () => { staticResources = (await readdir("static")).map(e => `/${e}`); }); + + /** + * Remove marketing fonts from the list of links. This is only needed for PR previews + * and is not linked to from the docs. + */ + staticResources = staticResources.filter(e => !e !== '/static-res'); + /** * Links outside of the docs that are required and therefore ok. */