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 c26db3b commit 7cf388aCopy full SHA for 7cf388a
lib/process.js
@@ -101,10 +101,13 @@ module.exports = function (src, filePath) {
101
}
102
103
if (Array.isArray(parts.styles) && parts.styles.length > 0) {
104
+ if (parts.styles.some(ast => /^scss|sass|less|pcss|postcss/.test(ast.lang))) {
105
+ logger.warn('Sass/SCSS, Less and PostCSS are not currently compiled by vue-jest')
106
+ }
107
+
108
const styleStr = parts.styles.map(ast => {
109
if (!module) return
110
if (/^scss|sass|less|pcss|postcss/.test(ast.lang)) {
- logger.warn('Sass/SCSS, Less and PostCSS are not currently compiled by vue-jest')
111
return false
112
113
0 commit comments