Skip to content

Commit

Permalink
fix: fix type error in test
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerzl committed Mar 17, 2024
1 parent 4fc20db commit b1d6a35
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/providers/local.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ describe('local font provider', () => {
fallbacks: [],
weights: ['normal'],
styles: ['normal'],
subsets: ['latin']
subsets: ['latin'],
disableLocalFallbacks: false,
})?.fonts).toMatchInlineSnapshot(`
[
{
Expand All @@ -78,7 +79,8 @@ describe('local font provider', () => {
fallbacks: [],
weights: ['bold'],
styles: ['normal'],
subsets: ['latin']
subsets: ['latin'],
disableLocalFallbacks: false,
})?.fonts).toMatchInlineSnapshot(`
[
{
Expand All @@ -97,7 +99,8 @@ describe('local font provider', () => {
fallbacks: [],
weights: ['extra-light'],
styles: ['normal'],
subsets: ['latin']
subsets: ['latin'],
disableLocalFallbacks: false,
})?.fonts).toMatchInlineSnapshot(`
[
{
Expand Down

0 comments on commit b1d6a35

Please sign in to comment.