Skip to content

Commit

Permalink
Init chart chartjs for other tests, too
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Mar 23, 2024
1 parent 9c143cb commit 49970e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/backend/compare/compare-view.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 2 additions & 0 deletions tests/backend/compare/prep-data.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 49970e1

Please sign in to comment.