Skip to content

Commit 1795087

Browse files
committed
maint(Build): Compatibility with Jest 28.
Don't transform preact.
1 parent 69b7934 commit 1795087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ module.exports = {
1010
"\\.(css|less|sass|scss)$": "identity-obj-proxy",
1111
},
1212
testEnvironment: "jsdom",
13-
transformIgnorePatterns: ["/node_modules/(?!screenfull/*).+\\.[t|j]sx?$"],
13+
transformIgnorePatterns: ["/node_modules/(?!preact/)(?!screenfull/).+\\.[t|j]sx?$"],
1414
};

0 commit comments

Comments
 (0)