generated from Seekra/repository-template
Style: make code style consistent #186
@@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { useSettingsStore } from '../stores/settingsStore';
|
import { useSettingsStore } from '../stores/settingsStore';
|
||||||
import Icon from '@/features/icons/components/Icon.vue';
|
import Icon from '@/features/icons/components/Icon.vue';
|
||||||
import { computed, ref, useId, watch } from 'vue';
|
import { computed, useId } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ describe('Selection', () => {
|
|||||||
expect(
|
expect(
|
||||||
options
|
options
|
||||||
.map((option) => option.name)
|
.map((option) => option.name)
|
||||||
.filter((entry, i) => checkedInputs[i])
|
.filter((_, i) => checkedInputs[i])
|
||||||
).toStrictEqual(value);
|
).toStrictEqual(value);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ describe('useSettings', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('returns default value', () => {
|
test('returns default value', () => {
|
||||||
const { getSetting, setSetting } = useSettings();
|
const { getSetting } = useSettings();
|
||||||
expect(getSetting(settingPath)).toBe(settingDefaultValue);
|
expect(getSetting(settingPath)).toBe(settingDefaultValue);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -19,16 +19,10 @@ import Searchbar from '../features/search/components/Searchbar.vue';
|
|||||||
import logo from '@/assets/images/logo.svg';
|
import logo from '@/assets/images/logo.svg';
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useRouter } from 'vue-router';
|
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const router = useRouter();
|
|
||||||
|
|
||||||
const searchQuery = ref('');
|
const searchQuery = ref('');
|
||||||
|
|
||||||
const submitSearch = function ensureUnit() {
|
|
||||||
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
Reference in New Issue
Block a user