correct and complete unit tests in Front-End

This commit is contained in:
Laurent GAY
2025-06-11 18:49:45 +02:00
parent 2fa54e8282
commit 533ecbdbba
67 changed files with 1900 additions and 203 deletions

View File

@@ -0,0 +1,15 @@
import { describe, expect, it } from "vitest";
import { mount, VueWrapper } from "@vue/test-utils";
import ActorInlineStory from "@/components/Account/ActorInline.story.vue";
describe("Actor Inline Story", () => {
let wrapper: VueWrapper;
const generateWrapper = () => {
wrapper = mount(ActorInlineStory);
};
it("Default", async () => {
generateWrapper();
expect(wrapper.html()).toMatchSnapshot();
});
});