Skip to content

Commit

Permalink
Merge pull request #4428 from dfe-analytical-services/EES-4715
Browse files Browse the repository at this point in the history
EES-4715 suppress jsdom css errors
  • Loading branch information
amyb-hiveit authored Nov 27, 2023
2 parents 818016b + b6634be commit 45ca60d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/explore-education-statistics-admin/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const config = {
'<rootDir>/../explore-education-statistics-common/test/$1',
'^axios$': '<rootDir>/node_modules/axios/dist/axios.js',
'^marked$': '<rootDir>/node_modules/marked/lib/marked.umd.js',
'^explore-education-statistics-ckeditor$': '<rootDir>/test/EditorStub.js',
},
moduleFileExtensions: [
'web.js',
Expand Down
3 changes: 3 additions & 0 deletions src/explore-education-statistics-admin/test/EditorStub.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Stub out CKEditor to prevent errors from its
// CSS build polluting the test output.
export default class EditorStub {}

0 comments on commit 45ca60d

Please sign in to comment.