Skip to content

Commit

Permalink
Jest Preset: Improve is-plain-obj transformation ignore (#43271)
Browse files Browse the repository at this point in the history
* Jest Preset: Improve is-plain-obj transformation ignore

* Add changelogs
  • Loading branch information
tyxla authored and gziolo committed Aug 17, 2022
1 parent e4603f9 commit 31244eb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/jest-preset-default/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Bug Fix

- Jest Preset: Improve `is-plain-obj` transformation ignore ([#43271](https://github.com/WordPress/gutenberg/pull/43271)).

## 8.5.1 (2022-08-12)

### Bug Fix
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-preset-default/jest-preset.js
Expand Up @@ -29,5 +29,5 @@ module.exports = {
transform: {
'\\.[jt]sx?$': require.resolve( 'babel-jest' ),
},
transformIgnorePatterns: [ 'node_modules/(?!(is-plain-obj))' ],
transformIgnorePatterns: [ 'node_modules/(?:(?!is-plain-obj/).)*$' ],
};
4 changes: 4 additions & 0 deletions packages/scripts/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Bug Fix

- Jest Preset: Improve `is-plain-obj` transformation ignore ([#43271](https://github.com/WordPress/gutenberg/pull/43271)).

## 23.7.1 (2022-08-12)

### Bug Fix
Expand Down

0 comments on commit 31244eb

Please sign in to comment.