We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d67f4b7 commit cf43939Copy full SHA for cf43939
test/binCases/help/help-output-no-command/stdin.js
@@ -0,0 +1,16 @@
1
+"use strict";
2
+
3
+module.exports = function testAssertions(code, stdout, stderr) {
4
+ expect(code).toBe(2);
5
+ expect(stdout).toEqual(expect.anything());
6
+ expect(stdout).toContain("Config options:");
7
+ expect(stdout).toContain("Basic options:");
8
+ expect(stdout).toContain("Module options:");
9
+ expect(stdout).toContain("Output options:");
10
+ expect(stdout).toContain("Advanced options:");
11
+ expect(stdout).toContain("Resolving options:");
12
+ expect(stdout).toContain("Optimizing options:");
13
+ expect(stdout).toContain("Stats options:");
14
+ expect(stdout).toContain("Options:");
15
+ expect(stderr).toHaveLength(0);
16
+};
test/binCases/help/help-output-no-command/test.opts
0 commit comments