Just a whole lot of crap

This commit is contained in:
2025-08-14 16:36:12 -05:00
parent 66b7e42275
commit 62f6d6f279
144 changed files with 41421 additions and 2458 deletions

18
tests/__mocks__/ink.js Normal file
View File

@@ -0,0 +1,18 @@
// Mock Ink components for testing
const React = require("react");
const Box = ({ children, ...props }) =>
React.createElement("div", props, children);
const Text = ({ children, ...props }) =>
React.createElement("span", props, children);
const useInput = jest.fn();
const useApp = jest.fn(() => ({ exit: jest.fn() }));
module.exports = {
Box,
Text,
useInput,
useApp,
render: jest.fn(),
};