Skip to content

Commit

Permalink
fix: fixed failing unit tests and updated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahwaheed committed Jan 2, 2024
1 parent 08ecd25 commit e8d7c19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ module.exports = {
'env.config': envConfigPath,
},
testPathIgnorePatterns: ['node_modules', '.cache'],
transformIgnorePatterns: ['node_modules/(?!(gatsby|@openedx/paragon|@edx/frontend-platform|@edx/frontend-component-footer-edx))'],
transformIgnorePatterns: [
'node_modules/(?!@(open)?edx)',
],
globals: {
__PATH_PREFIX__: '',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ exports[`ProgramListPage correctly renders the loading page 1`] = `
</ul>
<p>
©
2023
2024
edX LLC. All rights reserved.
<br />
深圳市恒宇博科技有限公司
Expand Down Expand Up @@ -866,7 +866,7 @@ exports[`ProgramListPage renders fetching program error page when there are issu
</ul>
<p>
©
2023
2024
edX LLC. All rights reserved.
<br />
深圳市恒宇博科技有限公司
Expand Down

0 comments on commit e8d7c19

Please sign in to comment.