Skip to content

Commit fb8db75

Browse files
committed
fix test
1 parent d7cda96 commit fb8db75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli/test/commands.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ test.serial('docs should print documentation with full names', async (t) => {
761761
opts.repoDir = '/repo';
762762

763763
await commandParser(opts, logger);
764-
const docs = logger._parse(logger._history[2]).message as string;
764+
const docs = logger._find('print', /API Reference/).message;
765765

766766
// match the signature
767767
t.regex(docs, /\#\# fn\(\)/);

0 commit comments

Comments
 (0)