Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…g-mobile into try/introduce-split-on-enter-basic-logic
  • Loading branch information
daniloercoli committed Sep 20, 2018
2 parents 50105f4 + 403d389 commit b2b0528
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ module.exports = {
verbose: true,
preset: 'jest-react-native',
testEnvironment: 'jsdom',
testPathIgnorePatterns: [ '/node_modules/', '/gutenberg/test/', '/gutenberg/packages/' ],
testPathIgnorePatterns: [
'/node_modules/',
'/gutenberg/gutenberg-mobile/',
'/gutenberg/test/',
'/gutenberg/packages/',
],
moduleFileExtensions: [
'native.js',
'android.js',
Expand All @@ -31,6 +36,7 @@ module.exports = {
'jsx',
'node',
],
modulePathIgnorePatterns: [ '<rootDir>/gutenberg/gutenberg-mobile' ],
moduleNameMapper: {
'@wordpress\\/(block-serialization-default-parser|blocks|data|element|deprecated|editor|block-library|components|keycodes|url|a11y|viewport|core-data|api-fetch|nux)$':
'<rootDir>/gutenberg/packages/$1/src/index',
Expand Down
1 change: 1 addition & 0 deletions rn-cli.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
// are automagically resolved by Metro so, there is no list of them anywhere.
return blacklist( [
/gutenberg\/packages\/(autop|compose|deprecated|hooks|i18n|is-shallow-equal|blob|redux-routine)\/.*/,
/gutenberg\/gutenberg-mobile\/.*/,
] );
},
getTransformModulePath() {
Expand Down

0 comments on commit b2b0528

Please sign in to comment.