We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af1bc5c commit 909e172Copy full SHA for 909e172
lib/process-style.js
@@ -52,7 +52,7 @@ function getPreprocessOptions(lang, filePath, jestConfig) {
52
module.exports = function processStyle(stylePart, filePath, config = {}) {
53
const vueJestConfig = getVueJestConfig(config)
54
55
- if (stylePart.src && !stylePart.content) {
+ if (stylePart.src && !stylePart.content.trim()) {
56
const cssFilePath = applyModuleNameMapper(
57
stylePart.src,
58
filePath,
0 commit comments