Skip to content
Myr

command.description.test.js

This file

Path

tests/command.description.test.js

8 lines · 262 bytes · JavaScript

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 7b6567e point at it.

Fix syntactically incorrect command name (#1488)John Geebefore adoption7b6567e

lines 1–8why, one step back
1const commander = require('../');
23test('when set description then get description', () => {4 const program = new commander.Command();5 const description = 'abcdef';6 program.description(description);7 expect(program.description()).toMatch(description);8});