diff options
author | nlf <quitlahok@gmail.com> | 2022-10-06 22:48:39 +0300 |
---|---|---|
committer | Nathan Fritz <fritzy@github.com> | 2022-10-13 18:46:17 +0300 |
commit | d2963c67b992b9b3b9dd32f6f41cbbe4bcc580c8 (patch) | |
tree | accc9d173c4a31c30d6bd0432406689794ef8d87 /test/lib/commands/bugs.js | |
parent | cee3fd9905c7eb0a5cb26a8c9c08c5db48becd15 (diff) |
feat: explicitly validate config within the cli
BREAKING CHANGE: the presence of auth related settings that are not scoped to a specific registry found in a config file is no longer supported and will throw errors
Diffstat (limited to 'test/lib/commands/bugs.js')
-rw-r--r-- | test/lib/commands/bugs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/commands/bugs.js b/test/lib/commands/bugs.js index dbd618b08..91d144b6b 100644 --- a/test/lib/commands/bugs.js +++ b/test/lib/commands/bugs.js @@ -62,7 +62,7 @@ const Bugs = t.mock('../../../lib/commands/bugs.js', { '../../../lib/utils/open-url.js': openUrl, }) -const bugs = new Bugs({ flatOptions: {} }) +const bugs = new Bugs({ flatOptions: {}, config: { validate: () => {} } }) t.test('usage', (t) => { t.match(bugs.usage, 'bugs', 'usage has command name in it') |