Skip to content

Commit 995e757

Browse files
committed
chore: Clean up some todos, add tests for previously skipped blocks
1 parent 417daa7 commit 995e757

File tree

20 files changed

+134
-20
lines changed

20 files changed

+134
-20
lines changed

lib/commands/edit.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ class Edit extends BaseCommand {
3333
static params = ['editor']
3434
static ignoreImplicitWorkspace = false
3535

36-
// TODO
37-
/* istanbul ignore next */
3836
static async completion (opts, npm) {
3937
return completion(npm, opts)
4038
}

lib/commands/explain.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class Explain extends ArboristWorkspaceCmd {
1717

1818
static ignoreImplicitWorkspace = false
1919

20-
// TODO
21-
/* istanbul ignore next */
2220
static async completion (opts, npm) {
2321
const completion = require('../utils/installed-deep.js')
2422
return completion(npm, opts)

lib/commands/explore.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ class Explore extends BaseCommand {
1414
static params = ['shell']
1515
static ignoreImplicitWorkspace = false
1616

17-
// TODO
18-
/* istanbul ignore next */
1917
static async completion (opts, npm) {
2018
return completion(npm, opts)
2119
}

lib/commands/fund.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ class Fund extends ArboristWorkspaceCmd {
3434
return `${msg}\``
3535
}
3636

37-
// TODO
38-
/* istanbul ignore next */
3937
static async completion (opts, npm) {
4038
const completion = require('../utils/installed-deep.js')
4139
return completion(npm, opts)

lib/commands/get.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ class Get extends BaseCommand {
88
static params = ['long']
99
static ignoreImplicitWorkspace = false
1010

11-
// TODO
12-
/* istanbul ignore next */
1311
static async completion (opts) {
1412
const Config = Npm.cmd('config')
1513
return Config.completion(opts)

lib/commands/ls.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ class LS extends ArboristWorkspaceCmd {
3939
...super.params,
4040
]
4141

42-
// TODO
43-
/* istanbul ignore next */
4442
static async completion (opts, npm) {
4543
const completion = require('../utils/installed-deep.js')
4644
return completion(npm, opts)

lib/commands/rebuild.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class Rebuild extends ArboristWorkspaceCmd {
1717

1818
static usage = ['[<package-spec>] ...]']
1919

20-
// TODO
21-
/* istanbul ignore next */
2220
static async completion (opts, npm) {
2321
const completion = require('../utils/installed-deep.js')
2422
return completion(npm, opts)

lib/commands/set.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ class Set extends BaseCommand {
88
static params = ['global', 'location']
99
static ignoreImplicitWorkspace = false
1010

11-
// TODO
12-
/* istanbul ignore next */
1311
static async completion (opts) {
1412
const Config = Npm.cmd('config')
1513
return Config.completion(opts)

lib/commands/uninstall.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ class Uninstall extends ArboristWorkspaceCmd {
1111
static usage = ['[<@scope>/]<pkg>...']
1212
static ignoreImplicitWorkspace = false
1313

14-
// TODO
15-
/* istanbul ignore next */
1614
static async completion (opts, npm) {
1715
return completion(npm, opts)
1816
}

lib/commands/update.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class Update extends ArboristWorkspaceCmd {
2929

3030
static usage = ['[<pkg>...]']
3131

32-
// TODO
33-
/* istanbul ignore next */
3432
static async completion (opts, npm) {
3533
const completion = require('../utils/installed-deep.js')
3634
return completion(npm, opts)

0 commit comments

Comments
 (0)