Fix linting

This commit is contained in:
Wolfgang Huß 2021-07-20 11:48:55 +02:00
parent 3b214c9db9
commit aaecab810c
2 changed files with 11 additions and 3 deletions

View File

@ -118,11 +118,15 @@ describe('PageFooter.vue', () => {
}) })
it('renders TERMS_AND_CONDITIONS as "a" tag link', () => { it('renders TERMS_AND_CONDITIONS as "a" tag link', () => {
expect(wrapper.find(`a[href="https://ocelot.social/TERMS_AND_CONDITIONS"]`).exists()).toBeTruthy() expect(
wrapper.find(`a[href="https://ocelot.social/TERMS_AND_CONDITIONS"]`).exists(),
).toBeTruthy()
}) })
it('renders CODE_OF_CONDUCT as "a" tag link', () => { it('renders CODE_OF_CONDUCT as "a" tag link', () => {
expect(wrapper.find(`a[href="https://ocelot.social/CODE_OF_CONDUCT"]`).exists()).toBeTruthy() expect(
wrapper.find(`a[href="https://ocelot.social/CODE_OF_CONDUCT"]`).exists(),
).toBeTruthy()
}) })
it('renders DATA_PRIVACY as "a" tag link', () => { it('renders DATA_PRIVACY as "a" tag link', () => {

View File

@ -1,7 +1,11 @@
<template> <template>
<div id="footer" class="ds-footer"> <div id="footer" class="ds-footer">
<!-- made with --> <!-- made with -->
<nuxt-link v-if="noLinkDefined(links.ORGANIZATION)" to="/organization" data-test="organization-nuxt-link"> <nuxt-link
v-if="noLinkDefined(links.ORGANIZATION)"
to="/organization"
data-test="organization-nuxt-link"
>
{{ $t('site.made') }} {{ $t('site.made') }}
</nuxt-link> </nuxt-link>
<a v-else :href="links.ORGANIZATION" target="_blank" data-test="organization-link"> <a v-else :href="links.ORGANIZATION" target="_blank" data-test="organization-link">