fix tests and lint errors

This commit is contained in:
Alina Beck 2020-01-09 13:48:30 +05:30
parent 93b6323c34
commit 04e5ecc87d
3 changed files with 9 additions and 3 deletions

View File

@ -62,7 +62,13 @@
/>
</ds-flex-item>
<ds-flex-item :width="{ base: '100%', sm: '100%', md: '100%', lg: 1 }">
<ds-button icon="trash" danger filled :disabled="!deleteEnabled" @click="handleSubmit">
<ds-button
icon="trash"
danger
filled
:disabled="!deleteEnabled"
@click="handleSubmit"
>
{{ $t('settings.deleteUserAccount.name') }}
</ds-button>
</ds-flex-item>

View File

@ -5,7 +5,7 @@ const localVue = global.localVue
localVue.filter('truncate', string => string)
config.stubs.dropdown = '<span class="dropdown"><slot /></span>'
config.stubs.dropdown = '<span class="dropdown"><slot :toggleMenu="() => null" /></span>'
describe('NotificationMenu.vue', () => {
let wrapper

View File

@ -102,7 +102,7 @@ export default {
}
&.--danger.--filled {
@include buttonStates($color-scheme: danger, $filled: true)
@include buttonStates($color-scheme: danger, $filled: true);
}
&.--circle {