glowing-fiesta/tests/pages/legal/terms-of-service.test.ts
Liviu Burcusel 176665d7d4
All checks were successful
Production Build and Deploy / Build (push) Successful in 1m9s
Production Build and Deploy / Deploy (push) Successful in 28s
Added 'Terms of Service' and 'Privacy policy' pages
2026-01-15 15:53:35 +01:00

11 lines
435 B
TypeScript

import { describe, expect, it } from "vitest";
import { mount, type VueWrapper } from "@vue/test-utils";
import TermsOfServicePage from "~/pages/legal/terms-of-service.vue";
describe("pages/legal/terms-of-service.vue", () => {
it("loads without crashing", () => {
const wrapper: VueWrapper = mount(TermsOfServicePage);
expect(wrapper.exists()).toBe(true);
expect(wrapper.text()).toContain("Terms of Service");
});
});