Skip to content

Commit

Permalink
Tools: Add a jest config to bypass an error
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Aug 10, 2022
1 parent 62ff5bb commit 55dc8b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jest.config.js
@@ -0,0 +1,8 @@
const defaultConfig = require( '@wordpress/scripts/config/jest-unit.config' );

const config = {
...defaultConfig,
transformIgnorePatterns: [ 'node_modules/(?!(is-plain-obj))' ],
};

module.exports = config;

0 comments on commit 55dc8b7

Please sign in to comment.