diff --git a/lib/process.js b/lib/process.js
index ff247c24..9126cab4 100644
--- a/lib/process.js
+++ b/lib/process.js
@@ -101,10 +101,13 @@ module.exports = function (src, filePath) {
   }
 
   if (Array.isArray(parts.styles) && parts.styles.length > 0) {
+    if (parts.styles.some(ast => /^scss|sass|less|pcss|postcss/.test(ast.lang))) {
+      logger.warn('Sass/SCSS, Less and PostCSS are not currently compiled by vue-jest')
+    }
+
     const styleStr = parts.styles.map(ast => {
       if (!module) return
       if (/^scss|sass|less|pcss|postcss/.test(ast.lang)) {
-        logger.warn('Sass/SCSS, Less and PostCSS are not currently compiled by vue-jest')
         return false
       }