Skip to content

Commit f0ad381

Browse files
docs: update example
1 parent 60d1d07 commit f0ad381

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ enquirer
4040
```js
4141
// test.js
4242

43-
const runTest = require("cli-prompts-test");
44-
45-
const DOWN = "\x1B\x5B\x42";
46-
const ENTER = "\x0D";
43+
const runTest, { DOWN, ENTER } = require("cli-prompts-test");
4744

4845
const cliPath = `${__dirname}/cli.js`;
4946

0 commit comments

Comments
 (0)