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

[tests-only] mock setModalInputErrorMessage in Projects.spec.js #6398

Merged

Conversation

individual-it
Copy link
Member

Description

mock setModalInputErrorMessage so that it does not show an error while running the unit tests

Related Issue

Motivation and Context

get rid of this log output

  console.error
    [vuex] unknown action type: setModalInputErrorMessage

      at Store.dispatch (node_modules/vuex/dist/vuex.common.js:499:15)
      at Store.boundDispatch [as dispatch] (node_modules/vuex/dist/vuex.common.js:408:21)
      at VueComponent.mappedAction (node_modules/vuex/dist/vuex.common.js:1066:20)

How Has This Been Tested?

🤖

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

Copy link
Contributor

@pascalwengerter pascalwengerter left a comment

Choose a reason for hiding this comment

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

Love it!

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@individual-it individual-it merged commit 41c6459 into master Feb 9, 2022
@delete-merged-branch delete-merged-branch bot deleted the reduceLogOutput/views/spaces/Projects.spec.js branch February 9, 2022 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants