Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Nov 22, 2023
1 parent 48e976f commit daaeeb5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@
"cypress:open": "make cypress-open",
"prepare": "husky install"
}
}
}
2 changes: 1 addition & 1 deletion src/Blocks/EmbedTableauVisualization/View.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, { useEffect } from 'react';
import { Message } from 'semantic-ui-react';
import { flattenToAppURL } from '@plone/volto/helpers';
import PrivacyProtection from '@eeacms/volto-embed/PrivacyProtection/PrivacyProtection';
import { connect } from 'react-redux';
import { compose } from 'redux';
import { getContent } from '@plone/volto/actions';
import PrivacyProtection from '@eeacms/volto-embed/PrivacyProtection/PrivacyProtection';
import { pickMetadata } from '@eeacms/volto-embed/helpers';
import Tableau from '@eeacms/volto-tableau/Tableau/Tableau';

Expand Down
4 changes: 4 additions & 0 deletions src/Blocks/EmbedTableauVisualization/View.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jest.mock(
},
);

jest.mock('@eeacms/volto-embed/helpers', () => ({
pickMetadata: (data) => data,
}));

const store = mockStore({
intl: {
locale: 'en',
Expand Down

0 comments on commit daaeeb5

Please sign in to comment.