Skip to content

Commit

Permalink
chore(demo-playwright): tuiGoto should mock both .ttf and `.woff2…
Browse files Browse the repository at this point in the history
…` fonts (#7451)
  • Loading branch information
nsbarsukov authored May 16, 2024
1 parent 66b9f80 commit e467baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/demo-playwright/utils/goto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function tuiGoto(

await tuiMockDate(page, date);

await page.route('https://fonts.gstatic.com/**/*.ttf', async route =>
await page.route('https://fonts.gstatic.com/**', async route =>
route.fulfill({path: `${__dirname}/../stubs/manrope-fonts.ttf`}),
);

Expand Down

0 comments on commit e467baa

Please sign in to comment.