Skip to content

Commit

Permalink
fixing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Jun 24, 2021
1 parent ebf9e7d commit 8011451
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ test('render', () => {
offset={1}
paramValues={{}}
replaceTemplateStrings={() => {}}
isCloudEnabled={false}
/>
);
expect(component).toMatchSnapshot(); // eslint-disable-line
Expand All @@ -74,6 +75,7 @@ describe('statusCheckState', () => {
statusCheckConfig={statusCheckConfig}
replaceTemplateStrings={() => {}}
statusCheckState={StatusCheckStates.FETCHING}
isCloudEnabled={false}
/>
);
expect(component).toMatchSnapshot(); // eslint-disable-line
Expand All @@ -90,6 +92,7 @@ describe('statusCheckState', () => {
statusCheckConfig={statusCheckConfig}
replaceTemplateStrings={() => {}}
statusCheckState={StatusCheckStates.FETCHING}
isCloudEnabled={false}
/>
);
expect(component).toMatchSnapshot(); // eslint-disable-line
Expand All @@ -106,6 +109,7 @@ describe('statusCheckState', () => {
statusCheckConfig={statusCheckConfig}
replaceTemplateStrings={() => {}}
statusCheckState={StatusCheckStates.ERROR}
isCloudEnabled={false}
/>
);
expect(component).toMatchSnapshot(); // eslint-disable-line
Expand All @@ -122,6 +126,7 @@ describe('statusCheckState', () => {
statusCheckConfig={statusCheckConfig}
replaceTemplateStrings={() => {}}
statusCheckState={StatusCheckStates.NO_DATA}
isCloudEnabled={false}
/>
);
expect(component).toMatchSnapshot(); // eslint-disable-line
Expand All @@ -138,6 +143,7 @@ describe('statusCheckState', () => {
statusCheckConfig={statusCheckConfig}
replaceTemplateStrings={() => {}}
statusCheckState={StatusCheckStates.HAS_DATA}
isCloudEnabled={false}
/>
);
expect(component).toMatchSnapshot(); // eslint-disable-line
Expand Down

0 comments on commit 8011451

Please sign in to comment.