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 fileTake it
The walk stopped after 200 commits: lines older than 20cef03 point at it.
Update supported details for 7.x (#1419)John Geebefore adoption20cef03
lines 1–8why, one step back1const 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});