gajus / gajus/to-string-loader

Jest testing

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
65
Forks
8
PR merge metrics
No merged PRs in 30d

Description

How to test using jest? I get `Cannot find module '!!to-string-loader!css-loader?minimize!sass-loader!../styles/web.scss' from 'file.js'`

![image](https://user-images.githubusercontent.com/619186/80852835-28c45480-8c02-11ea-9b65-dad235e25a8f.png)

Using `import` instead of `require` didn't fix.

Need to mock or is there a way to make it work?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.