[Test] Run unittest with vitest (#2779)

This commit is contained in:
Chenlei Hu
2025-02-28 22:09:17 -05:00
committed by GitHub
parent 7d92e453ef
commit a814f9f902
33 changed files with 293 additions and 4114 deletions

View File

@@ -1,4 +1,6 @@
// @ts-strict-ignore
import { describe, expect, it } from 'vitest'
import {
BooleanInputSpec,
ComfyInputsSpec,
@@ -8,8 +10,6 @@ import {
StringInputSpec
} from '@/stores/nodeDefStore'
// Adjust the import path as needed
describe('ComfyInputsSpec', () => {
it('should transform a plain object to ComfyInputsSpec instance', () => {
const plainObject = {