Files
ComfyUI_frontend/test/LGraphGroup.test.ts
filtered 7e21b00cc7 Replace test framework: jest -> vitest (#281)
* Replace test framework: jest -> vitest

* nit - remove deprecated npm scripts

* Add vitest config

* Add a few basic tests

* Update actions with vitest params

* Add correct expectations

* Remove jest config
2024-11-06 17:27:32 -05:00

11 lines
314 B
TypeScript

import { describe, expect } from "vitest"
import { LGraphGroup } from "@/litegraph"
import { lgTest } from "./lgTest"
describe("LGraphGroup", () => {
lgTest("serializes to the existing format", () => {
const link = new LGraphGroup("title", 929)
expect(link.serialize()).toMatchSnapshot("Basic")
})
})