Skip to content

Commit

Permalink
increase code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 committed Aug 22, 2024
1 parent 0a036f4 commit 4a0b444
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Blocks/TableauBlock/View.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ jest.mock('@eeacms/volto-tableau/Tableau/Tableau', () =>
jest.fn(() => <div>Mocked Tableau</div>),
);

// Mock pentru config
jest.mock('@plone/volto/registry', () => ({
blocks: {
blocksConfig: {
tableau_block: {
breakpoints: {}, // Adaugă aici obiectul breakpoints necesar
breakpoints: {},
},
},
},
Expand Down

0 comments on commit 4a0b444

Please sign in to comment.