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 7a1d8da commit 84b2d75Copy full SHA for 84b2d75
test/jest/options.test.js
@@ -18,6 +18,18 @@ describe("options", () => {
18
});
19
20
21
+ describe("verbose option", () => {
22
+ it("should error if no number is given", async () => {
23
+ await expect(ctx.runEask("info -v")).rejects.toMatchObject({ code: 1 });
24
+ });
25
+
26
+ it("should error if the number is omitted before the next option", async () => {
27
+ await expect(ctx.runEask("info -v --no-color")).rejects.toMatchObject({
28
+ code: 1,
29
30
31
32
33
test.each([
34
"-a",
35
"--all",
0 commit comments