mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
* [Test] Revert custom name for test context - Removes "lgTest", replaces with default "test" * nit - Rename test extensions file * Split test graphs out to separate file
16 lines
467 B
TypeScript
16 lines
467 B
TypeScript
import { describe, expect } from "vitest"
|
|
import { LLink } from "@/litegraph"
|
|
import { test } from "./testExtensions"
|
|
|
|
describe("LLink", () => {
|
|
test("matches previous snapshot", () => {
|
|
const link = new LLink(1, "float", 4, 2, 5, 3)
|
|
expect(link.serialize()).toMatchSnapshot("Basic")
|
|
})
|
|
|
|
test("serializes to the previous snapshot", () => {
|
|
const link = new LLink(1, "float", 4, 2, 5, 3)
|
|
expect(link.serialize()).toMatchSnapshot("Basic")
|
|
})
|
|
})
|