• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* IMPORTANT
2 * This snapshot file is auto-generated, but designed for humans.
3 * It should be checked into source control and tracked carefully.
4 * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
5 * Make sure to inspect the output below.  Do not ignore changes!
6 */
7'use strict'
8exports[`test/lib/commands/completion.js TAP completion --no- flags > flags 1`] = `
9Array [
10  Array [
11    String(
12      --no-version
13      --no-versions
14    ),
15  ],
16]
17`
18
19exports[`test/lib/commands/completion.js TAP completion commands with no completion > no results 1`] = `
20Array []
21`
22
23exports[`test/lib/commands/completion.js TAP completion completion cannot complete options that take a value in mid-command > does not try to complete option arguments in the middle of a command 1`] = `
24Array []
25`
26
27exports[`test/lib/commands/completion.js TAP completion completion completion > both shells 1`] = `
28Array []
29`
30
31exports[`test/lib/commands/completion.js TAP completion completion completion no known shells > no responses 1`] = `
32Array []
33`
34
35exports[`test/lib/commands/completion.js TAP completion completion completion wrong word count > no responses 1`] = `
36Array []
37`
38
39exports[`test/lib/commands/completion.js TAP completion completion of invalid command name does nothing > no results 1`] = `
40Array []
41`
42
43exports[`test/lib/commands/completion.js TAP completion double dashes escape from flag completion > full command list 1`] = `
44Array [
45  Array [
46    String(
47      access
48      adduser
49      audit
50      bugs
51      cache
52      ci
53      completion
54      config
55      dedupe
56      deprecate
57      diff
58      dist-tag
59      docs
60      doctor
61      edit
62      exec
63      explain
64      explore
65      find-dupes
66      fund
67      get
68      help
69      help-search
70      hook
71      init
72      install
73      install-ci-test
74      install-test
75      link
76      ll
77      login
78      logout
79      ls
80      org
81      outdated
82      owner
83      pack
84      ping
85      pkg
86      prefix
87      profile
88      prune
89      publish
90      query
91      rebuild
92      repo
93      restart
94      root
95      run-script
96      search
97      set
98      shrinkwrap
99      star
100      stars
101      start
102      stop
103      team
104      test
105      token
106      uninstall
107      unpublish
108      unstar
109      update
110      version
111      view
112      whoami
113      author
114      home
115      issues
116      info
117      show
118      find
119      add
120      unlink
121      remove
122      rm
123      r
124      un
125      rb
126      list
127      ln
128      create
129      i
130      it
131      cit
132      up
133      c
134      s
135      se
136      tst
137      t
138      ddp
139      v
140      run
141      clean-install
142      clean-install-test
143      x
144      why
145      la
146      verison
147      ic
148      innit
149      in
150      ins
151      inst
152      insta
153      instal
154      isnt
155      isnta
156      isntal
157      isntall
158      install-clean
159      isntall-clean
160      hlep
161      dist-tags
162      upgrade
163      udpate
164      rum
165      sit
166      urn
167      ogr
168      add-user
169    ),
170  ],
171]
172`
173
174exports[`test/lib/commands/completion.js TAP completion filtered subcommands > filtered subcommands 1`] = `
175Array []
176`
177
178exports[`test/lib/commands/completion.js TAP completion flags > flags 1`] = `
179Array [
180  Array [
181    String(
182      --version
183      --versions
184      --viewer
185      --verbose
186      --v
187    ),
188  ],
189]
190`
191
192exports[`test/lib/commands/completion.js TAP completion multiple command names > multiple command names 1`] = `
193Array [
194  Array [
195    String(
196      access
197      adduser
198      audit
199      author
200      add
201      add-user
202    ),
203  ],
204]
205`
206
207exports[`test/lib/commands/completion.js TAP completion single command name > single command name 1`] = `
208Array [
209  Array [
210    "config",
211  ],
212]
213`
214
215exports[`test/lib/commands/completion.js TAP completion subcommand completion > subcommands 1`] = `
216Array [
217  Array [
218    String(
219      get
220      grant
221      list
222      revoke
223      set
224    ),
225  ],
226]
227`
228
229exports[`test/lib/commands/completion.js TAP windows without bash > no output 1`] = `
230Array []
231`
232