* 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
10 lines
334 B
TypeScript
10 lines
334 B
TypeScript
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);
|
|
});
|
|
});
|