Skip to content

Commit

Permalink
test: improve the mutation score
Browse files Browse the repository at this point in the history
  • Loading branch information
NoriSte committed Oct 15, 2019
1 parent 460e6bf commit eed85d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/parse-cmd.unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ describe.each([
[["cmd", "--", "op1", "op2"], { scriptName: "cmd", options: ["op1", "op2"] }],
[["cmd", "op1"], { scriptName: "cmd", options: ["op1"] }],
[["cmd", "op1", "op2"], { scriptName: "cmd", options: ["op1", "op2"] }],
[["run"], { scriptName: "run", options: [] }],
[["run", "--"], { scriptName: "run", options: [] }],
[["run", "--", "op1"], { scriptName: "run", options: ["op1"] }],
[["run", "--", "op1", "op2"], { scriptName: "run", options: ["op1", "op2"] }],
[["run", "op1"], { scriptName: "run", options: ["op1"] }],
[["run", "op1", "op2"], { scriptName: "run", options: ["op1", "op2"] }],
[["npm"], { scriptName: "npm", options: [] }],
[["npm", "--"], { scriptName: "npm", options: [] }],
[["npm", "--", "op1"], { scriptName: "npm", options: ["op1"] }],
[["npm", "--", "op1", "op2"], { scriptName: "npm", options: ["op1", "op2"] }],
[["npm", "op1"], { scriptName: "npm", options: ["op1"] }],
[["npm", "op1", "op2"], { scriptName: "npm", options: ["op1", "op2"] }],
[["--"], { scriptName: "", options: [] }],
[["--", "op1"], { scriptName: "", options: ["op1"] }],
[["--", "op1", "op2"], { scriptName: "", options: ["op1", "op2"] }]
Expand Down

0 comments on commit eed85d1

Please sign in to comment.