diff --git a/tests/backend/compare/compare-view.test.ts b/tests/backend/compare/compare-view.test.ts index 04dc6be6..459bde68 100644 --- a/tests/backend/compare/compare-view.test.ts +++ b/tests/backend/compare/compare-view.test.ts @@ -30,8 +30,10 @@ import { loadCompareViewJsSomPayload, loadCompareViewTSomPayload } from '../../payload.js'; +import { initChartJS } from '../../../src/backend/compare/charts.js'; initJestMatchers(); +initChartJS(); const dataJsSOM = loadCompareViewJsSomPayload(); const dataTruffleSOM = loadCompareViewTSomPayload(); diff --git a/tests/backend/compare/prep-data.test.ts b/tests/backend/compare/prep-data.test.ts index 51c8cab6..8fa20709 100644 --- a/tests/backend/compare/prep-data.test.ts +++ b/tests/backend/compare/prep-data.test.ts @@ -46,8 +46,10 @@ import { loadCompareViewJsSomPayload, loadCompareViewTSomPayload } from '../../payload.js'; +import { initChartJS } from '../../../src/backend/compare/charts.js'; initJestMatchers(); +initChartJS(); describe('compareStringOrNull()', () => { it('should compare null and null', () => {