Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DUGK-36 Added mocks for layout to missing tests #29

Merged

Conversation

Omarley7
Copy link
Owner

Now tests be working

@@ -8,6 +8,11 @@ jest.mock('route/history/Chart', () => ({
jest.mock('route/history/RecentRuns', () => ({
default: () => <div>recent-runs-mock</div>,
}));
jest.mock('page/Layout', () => ({
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

@@ -6,6 +6,12 @@ jest.mock('components/Iframe', () => ({
default: () => <div>iframe-mock</div>,
}));

jest.mock('page/Layout', () => ({
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

@@ -5,6 +5,11 @@ import DigitalTwins from '../src/route/digitaltwins/DigitalTwins';
jest.mock('route/digitaltwins/Workflows', () => ({
default: () => <div>workflows-mock</div>,
}));
jest.mock('page/Layout', () => ({
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

@Omarley7 Omarley7 force-pushed the DUGK-36-Test-suite-for-page-Workbench branch from 00e57b8 to d9acfed Compare March 27, 2023 07:13
@codeclimate
Copy link

codeclimate bot commented Mar 27, 2023

Code Climate has analyzed commit d9acfed and detected 0 issues on this pull request.

View more on Code Climate.

@SyntaxXeror SyntaxXeror merged commit e66524d into feature/distributed-demo Mar 27, 2023
@SyntaxXeror SyntaxXeror deleted the DUGK-36-Test-suite-for-page-Workbench branch March 27, 2023 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants