Skip to content

Commit cecc6c5

Browse files
committed
strip-ansi
1 parent ae66ba9 commit cecc6c5

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

packages/inquirerer/__tests__/prompt.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import readline from 'readline';
22
import { Readable, Transform, Writable } from 'stream';
3-
import stripAnsi from 'strip-ansi';
4-
3+
import { stripAnsi } from '../test-utils/strip-ansi';
54
import { Inquirerer } from '../src';
65
import { Question } from '../src/question';
7-
6+
87
jest.mock('readline');
98

109
function sleep(ms: number): Promise<void> {

pnpm-lock.yaml

Lines changed: 5 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)