Skip to content

Commit

Permalink
refactor: restructure code to satisfy linting rules
Browse files Browse the repository at this point in the history
Signed-off-by: ernolf <[email protected]>
  • Loading branch information
ernolf committed Aug 26, 2024
1 parent b980023 commit 200d1f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tests/components/SetupConfirmation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ describe('SetupConfirmation', () => {
*/
})


it('validates custom secret', () => {
const wrapper = shallowMount(SetupConfirmation, {
store,
Expand All @@ -201,7 +200,7 @@ describe('SetupConfirmation', () => {
})
wrapper.setData({ customSecret: 'INVALID!' })
wrapper.vm.validateCustomSecret()
if (wrapper.vm.customSecretWarning == false) {
if (wrapper.vm.customSecretWarning === false) {
throw new Error('customSecretWarning should not be false')
}
})
Expand Down

0 comments on commit 200d1f4

Please sign in to comment.