Add 'src/lib/litegraph/' from commit '1b58bf4966e9cdaa04bfaa40f5650b6c6680ab97'

git-subtree-dir: src/lib/litegraph
git-subtree-mainline: 1eadf80fec
git-subtree-split: 1b58bf4966
This commit is contained in:
Benjamin Lu
2025-08-03 14:55:05 -04:00
171 changed files with 48331 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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")
})
})