I am using React with Jest as testing framework and use identity-obj-proxy to get jest to load classNames from scss
files. This only puts names of requrested class names to tests- it doesn't actually loads scss modules.
Is there way to make a test which will load my entry scss file and simply check if it loads without errors? By loads I mean that it doesn't have any undefined variables, broken imports etc.
Aucun commentaire:
Enregistrer un commentaire