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. */