• 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/tap/fund.js TAP fund containing multi-level nested deps with no funding > should omit dependencies with no funding declared 1`] = `
9nested-no-funding-packages@1.0.0
10+-- https://example.com/lorem
11| \`-- lorem@1.0.0
12+-- http://example.com/donate
13| \`-- bar@1.0.0
14\`-- https://example.com/sponsor
15  \`-- sub-bar@1.0.0
16
17
18`
19
20exports[`test/tap/fund.js TAP fund does not support global > should throw EFUNDGLOBAL error 1`] = `
21
22`
23
24exports[`test/tap/fund.js TAP fund does not support global > should write error msgs to stderr 1`] = `
25npm ERR! code EFUNDGLOBAL
26npm ERR! \`npm fund\` does not support global packages
27`
28
29exports[`test/tap/fund.js TAP fund does not support global, using --json option > should write error msgs to stderr 1`] = `
30npm ERR! code EFUNDGLOBAL
31npm ERR! \`npm fund\` does not support global packages
32`
33
34exports[`test/tap/fund.js TAP fund in which same maintainer owns all its deps > should print stack packages together 1`] = `
35maintainer-owns-all-deps@1.0.0
36\`-- http://example.com/donate
37  \`-- dep-bar@1.0.0, dep-foo@1.0.0, dep-sub-foo@1.0.0
38
39
40`
41
42exports[`test/tap/fund.js TAP fund using nested packages with multiple sources > should prompt with all available URLs 1`] = `
431: Funding available at the following URL: https://one.example.com
442: Funding available at the following URL: https://two.example.com
45Run \`npm fund [<@scope>/]<pkg> --which=1\`, for example, to open the first funding URL listed in that package
46
47`
48
49exports[`test/tap/fund.js TAP fund using nested packages with multiple sources, with a source number > should open the numbered URL 1`] = `
50Funding available at the following URL:
51
52https://one.example.com
53
54`
55
56exports[`test/tap/fund.js TAP fund using package argument with no browser > should open funding url 1`] = `
57individual funding available at the following URL:
58
59http://example.com/donate
60
61`
62
63exports[`test/tap/fund.js TAP fund using string shorthand > should open string-only url 1`] = `
64Funding available at the following URL:
65
66https://example.com/sponsor
67
68`
69
70exports[`test/tap/fund.js TAP fund with no package containing funding > should print empty funding info 1`] = `
71no-funding-package@0.0.0
72
73
74`
75