Skip to content

Commit

Permalink
Add nux to jest config.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioEstevao committed Sep 3, 2018
1 parent 8d1d2cc commit ec457af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
'node',
],
moduleNameMapper: {
'@wordpress\\/(blocks|data|element|deprecated|editor|redux-routine|block-library|components|keycodes|url|a11y|viewport|core-data|api-fetch)$': '<rootDir>/gutenberg/packages/$1/src/index',
'@wordpress\\/(blocks|data|element|deprecated|editor|redux-routine|block-library|components|keycodes|url|a11y|viewport|core-data|api-fetch|nux)$': '<rootDir>/gutenberg/packages/$1/src/index',

// Mock the CSS modules. See https://facebook.github.io/jest/docs/en/webpack.html#handling-static-assets
'\\.(scss)$': '<rootDir>/__mocks__/styleMock.js',
Expand Down

0 comments on commit ec457af

Please sign in to comment.