diff --git a/lib/jest-helpers.js b/lib/jest-helpers.js index 4cfecae6ec..6e6a8d6ce8 100644 --- a/lib/jest-helpers.js +++ b/lib/jest-helpers.js @@ -4,7 +4,7 @@ const cheerio = require('cheerio') const { configureAxe } = require('jest-axe') const nunjucks = require('nunjucks') const { outdent } = require('outdent') -const { compileAsync, compileStringAsync } = require('sass-embedded') +const { compileAsync, compileStringAsync, Logger } = require('sass-embedded') const { paths } = require('../config/index.js') @@ -135,6 +135,7 @@ async function getExamples (componentName) { async function compileSassFile (path, options = {}) { return compileAsync(path, { loadPaths: sassPaths, + logger: Logger.silent, quietDeps: true, ...options }) @@ -150,6 +151,7 @@ async function compileSassFile (path, options = {}) { async function compileSassString (source, options = {}) { return compileStringAsync(source, { loadPaths: sassPaths, + logger: Logger.silent, quietDeps: true, ...options })