From b1d6a35850f76141f8301f2fd857bcba6b2404ad Mon Sep 17 00:00:00 2001 From: qwerzl Date: Sun, 17 Mar 2024 09:09:39 +0800 Subject: [PATCH] fix: fix type error in test --- test/providers/local.test.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/providers/local.test.ts b/test/providers/local.test.ts index 124ec48..1307f3f 100644 --- a/test/providers/local.test.ts +++ b/test/providers/local.test.ts @@ -61,7 +61,8 @@ describe('local font provider', () => { fallbacks: [], weights: ['normal'], styles: ['normal'], - subsets: ['latin'] + subsets: ['latin'], + disableLocalFallbacks: false, })?.fonts).toMatchInlineSnapshot(` [ { @@ -78,7 +79,8 @@ describe('local font provider', () => { fallbacks: [], weights: ['bold'], styles: ['normal'], - subsets: ['latin'] + subsets: ['latin'], + disableLocalFallbacks: false, })?.fonts).toMatchInlineSnapshot(` [ { @@ -97,7 +99,8 @@ describe('local font provider', () => { fallbacks: [], weights: ['extra-light'], styles: ['normal'], - subsets: ['latin'] + subsets: ['latin'], + disableLocalFallbacks: false, })?.fonts).toMatchInlineSnapshot(` [ {