({describe, description, desc}: CommandHandlerDefinition)
| 748 | } |
| 749 | |
| 750 | private extractDesc({describe, description, desc}: CommandHandlerDefinition) { |
| 751 | for (const test of [describe, description, desc]) { |
| 752 | if (typeof test === 'string' || test === false) return test; |
| 753 | assertNotStrictEqual(test, true as const, this.shim); |
| 754 | } |
| 755 | return false; |
| 756 | } |
| 757 | // Push/pop the current command configuration: |
| 758 | freeze() { |
| 759 | this.frozens.push({ |
no test coverage detected