fix: lint
This commit is contained in:
parent
a0e2a6be0b
commit
862c3fc665
1 changed files with 2 additions and 2 deletions
|
|
@ -6,13 +6,13 @@ import { UserInput } from "../UserInput.js";
|
|||
|
||||
describe("Ctrl+C input clearing", () => {
|
||||
let mockOnSubmit: ReturnType<typeof vi.fn>;
|
||||
let mockProcessKill: ReturnType<typeof vi.fn>;
|
||||
let mockProcessKill: any;
|
||||
|
||||
beforeEach(() => {
|
||||
mockOnSubmit = vi.fn();
|
||||
|
||||
// Mock process.kill using vi.spyOn
|
||||
mockProcessKill = vi.spyOn(process, 'kill').mockImplementation(() => {
|
||||
mockProcessKill = vi.spyOn(process, "kill").mockImplementation(() => {
|
||||
return true;
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue