Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

yis4yimmy/loki-font-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loki font loading issue reproduction

To reproduce the issue I set up a simpler version of the repo I am work with that has a Button and Header component which require a font that is loaded using an @font-face call done inside the Storybook preview configuration.

Notice that if running loki test against the local storybook the tests pass with the expected font styling. But if I build the static storybook and run loki test --reactUri file:./storybook-static the tests fail with the following message:

2 requests failed to load; file:///fonts/Inter-Regular.woff2, file:///fonts/Inter-Regular.woff

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published