ink-testing-library icon indicating copy to clipboard operation
ink-testing-library copied to clipboard

Utilities for testing Ink apps

Results 11 ink-testing-library issues
Sort by recently updated
recently updated
newest added

Hello, `stdin.write` doesn't work with the latest ink version. The fix is already [commited](https://github.com/vadimdemedes/ink-testing-library/commit/f44b077e9a05a1d615bab41c72906726d34ea085), but was never released on npm. Can this be fixed?

When writing more than 100 characters to output stream the frame gets corrupted and also might drop characters. Added the option to control the column of the writeStream used in...

### Issue: VS code couldn't find the typings of the project. https://github.com/vadimdemedes/ink-testing-library/assets/9442803/945c9046-9cf7-4e67-ba99-21bb3db0dd98 ### What Has Been Done: I used the `types` attribute in package.json to ensure Vscode find the typings....

Testing a component with hooks is a bit of an issue currently. I have this as an example component that renders & ends the application: ```jsx export const Cancelled =...

enhancement
help wanted

While suspense/lazy works in ink itself, it doesnt seem to work while testing. `lastFrames` is always an empty string.

I am testing some responsive layouts based on the terminal window size and the 100 is hard coded in which only allows me to write tests for smaller layouts. It...

I have a component something like this in one file: ```tsx // ./MyComponent.tsx import React from "react"; import { Box, Text } from "ink"; export interface MyComponentProps { name: string;...

:wave: Thank you for the awesome library. My team is very excited about using it to build the [BigTest](https://github.com/thefrontside/bigtest) test runner CLI UI. The CLI UI that we want to...

I would like to test whether my app has quit. Ink's `render` returns [`waitUntilExit`](https://github.com/vadimdemedes/ink#waituntilexit) which works neatly. From what I can tell there's no tooling for this provided by the...

The current structure of ink-testing-library means that it's not possible to use something like Jest's import mocking. e.g. ```javascript jest.mock("ink", () => { const inkTesting = require("ink-testing-library"); return { render:...