Skip to content

Commit

Permalink
fixed regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaruan committed May 23, 2022
1 parent 210fee4 commit e4e11ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ describe('ProfilingCache', () => {
}
});

// @reactVersion >= 16.9
// @reactVersion >= 18.0
it('should calculate durations based on actual children (not filtered children)', () => {
store.componentFilters = [utils.createDisplayNameFilter('^Parent$')];

Expand Down
2 changes: 1 addition & 1 deletion scripts/jest/config.build-devtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ moduleNameMapper['^react-reconciler/([^/]+)$'] =
module.exports = Object.assign({}, baseConfig, {
// Redirect imports to the compiled bundles
moduleNameMapper: {
...moduleNameMapper,
...devtoolsRegressionConfig.moduleNameMapper,
...moduleNameMapper,
},
// Don't run bundle tests on -test.internal.* files
testPathIgnorePatterns: ['/node_modules/', '-test.internal.js$'],
Expand Down

0 comments on commit e4e11ee

Please sign in to comment.