From b31c5ff06c42cfbb598b3c9ed0301fdcb9e7eed5 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 1 Jan 2023 00:46:52 -0600 Subject: [PATCH] Jest: transform blurhash with babel --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 74e38cfdd..804234ebc 100644 --- a/jest.config.js +++ b/jest.config.js @@ -41,7 +41,7 @@ module.exports = { 'transformIgnorePatterns': [ // FIXME: react-sticky-box doesn't provide a CJS build, so transform it for now // https://github.com/codecks-io/react-sticky-box/issues/79 - `/node_modules/(?!(react-sticky-box|.+\\.(${ASSET_EXTS})$))`, + `/node_modules/(?!(react-sticky-box|blurhash|.+\\.(${ASSET_EXTS})$))`, // Ignore node_modules, except static assets // `/node_modules/(?!.+\\.(${ASSET_EXTS})$)`, ],