MCPcopy
hub / github.com/antvis/Infographic / command-manager.test.ts

File command-manager.test.ts

__tests__/unit/editor/managers/command-manager.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import EventEmitter from 'eventemitter3';
2import { describe, expect, it, vi } from 'vitest';
3import { ICommand } from '../../../../src/editor';
4import { CommandManager } from '../../../../src/editor/managers/command';

Callers

nothing calls this directly

Calls 9

createCommandFunction · 0.85
initMethod · 0.65
executeMethod · 0.65
canUndoMethod · 0.65
canRedoMethod · 0.65
undoMethod · 0.65
redoMethod · 0.65
executeBatchMethod · 0.65
serializeMethod · 0.65

Tested by

no test coverage detected