From 7c7f1e7d9cabca328e5bcda4073eb80065895e0d Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 1 Dec 2020 12:58:39 +0100 Subject: [PATCH] test: update font preload to use regex --- test/dev/with-config.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dev/with-config.test.js b/test/dev/with-config.test.js index 7b4451945c..c3e7c0f8ee 100644 --- a/test/dev/with-config.test.js +++ b/test/dev/with-config.test.js @@ -42,8 +42,8 @@ describe('with-config', () => { test('/ (preload fonts)', async () => { const { html } = await nuxt.server.renderRoute('/') - expect(html).toContain( - '