16 lines
298 B
TypeScript
16 lines
298 B
TypeScript
// Import jest-dom additions
|
|
import '@testing-library/jest-dom';
|
|
|
|
// Mock window.app for ComfyUI integration testing
|
|
global.window.app = {
|
|
graph: {
|
|
_nodes: []
|
|
},
|
|
api: {
|
|
addEventListener: jest.fn(),
|
|
removeEventListener: jest.fn()
|
|
},
|
|
canvas: {
|
|
centerOnNode: jest.fn()
|
|
}
|
|
}; |