Setting page

* Switched to eslint.config.ts and demoted @typescript-eslint/no-unused-vars to warning
* Created /settings route, associated component and modified tests for routes
* Added tests for SettingsView.vue
* Added jiti library needed for linting
* Refactored routes' tests.
* Refactoring to reduce code duplication
This commit is contained in:
Liviu Burcusel 2025-10-25 16:01:28 +02:00
parent 304d5188b8
commit 2a014e0733
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
9 changed files with 234 additions and 206 deletions

View file

@ -0,0 +1,10 @@
import { describe, expect, it } from "vitest";
import { mount, VueWrapper } from "@vue/test-utils";
import SettingView from "~/views/SettingView.vue";
describe("SettingView.vue", () => {
const wrapper: VueWrapper = mount(SettingView, {});
it("renders without crashing", () => {
expect(wrapper.exists()).toBe(true);
});
});