generated from Seekra/repository-template
refactor: remove all unused variables
This commit is contained in:
@@ -17,7 +17,7 @@ limitations under the License.
|
||||
<script setup>
|
||||
import { useSettingsStore } from '../stores/settingsStore';
|
||||
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';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -219,7 +219,7 @@ describe('Selection', () => {
|
||||
expect(
|
||||
options
|
||||
.map((option) => option.name)
|
||||
.filter((entry, i) => checkedInputs[i])
|
||||
.filter((_, i) => checkedInputs[i])
|
||||
).toStrictEqual(value);
|
||||
};
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ describe('useSettings', () => {
|
||||
});
|
||||
|
||||
test('returns default value', () => {
|
||||
const { getSetting, setSetting } = useSettings();
|
||||
const { getSetting } = useSettings();
|
||||
expect(getSetting(settingPath)).toBe(settingDefaultValue);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user