mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix linting
This commit is contained in:
parent
3b214c9db9
commit
aaecab810c
@ -118,11 +118,15 @@ describe('PageFooter.vue', () => {
|
||||
})
|
||||
|
||||
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', () => {
|
||||
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', () => {
|
||||
|
||||
@ -1,7 +1,11 @@
|
||||
<template>
|
||||
<div id="footer" class="ds-footer">
|
||||
<!-- 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') }}
|
||||
</nuxt-link>
|
||||
<a v-else :href="links.ORGANIZATION" target="_blank" data-test="organization-link">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user