Skip to content

Instantly share code, notes, and snippets.

@abrin
abrin / FormKitEventTest.spec.js
Created December 12, 2023 20:43
A test for making sure we get changes from FormKit
import { describe, it, expect, beforeEach } from "vitest";
import { mount, flushPromises } from "@vue/test-utils";
const TestItem = {
name: "TestItem",
emits: ["checkboxClick"],
data() {
return {
checked: false,
};