Skip to content

rsslldnphy/jest-barrel-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jest very slow with barrel files

Run tests using yarn test.

Test in src/barrel-files.test.tsx is v slow due to import * as Icons from "@mui/icons-material";. Test in src/no-barrel-files.test.tsx is fast due to individual icon being imported instead.

Is there a way to avoid this slowness while still using barrel files?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published