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/fund.js TAP fund a package with type and multiple sources > should print prompt select message 1`] = ` 91: Foo funding available at the following URL: http://example.com/foo 102: Lorem funding available at the following URL: http://example.com/foo-lorem 11Run \`npm fund [<package-spec>] --which=1\`, for example, to open the first funding URL listed in that package 12` 13 14exports[`test/lib/commands/fund.js TAP fund colors > should print output with color info 1`] = ` 15[0mtest-fund-colors@1.0.0[0m 16[0m+-- [40m[37mhttp://example.com/a[39m[49m[0m 17[0m| \`-- a@1.0.0[0m 18[0m\`-- [40m[37mhttp://example.com/b[39m[49m[0m 19[0m | \`-- b@1.0.0, c@1.0.0[0m 20[0m +-- [40m[37mhttp://example.com/d[39m[49m[0m 21[0m | \`-- d@1.0.0[0m 22[0m \`-- [40m[37mhttp://example.com/e[39m[49m[0m 23[0m \`-- e@1.0.0[0m 24[0m[0m 25` 26 27exports[`test/lib/commands/fund.js TAP fund containing multi-level nested deps with no funding > should omit dependencies with no funding declared 1`] = ` 28nested-no-funding-packages@1.0.0 29+-- https://example.com/lorem 30| \`-- lorem@1.0.0 31\`-- http://example.com/donate 32 \`-- bar@1.0.0 33 34` 35 36exports[`test/lib/commands/fund.js TAP fund in which same maintainer owns all its deps > should print stack packages together 1`] = ` 37http://example.com/donate 38 \`-- maintainer-owns-all-deps@1.0.0, dep-foo@1.0.0, dep-sub-foo@1.0.0, dep-bar@1.0.0 39 40` 41 42exports[`test/lib/commands/fund.js TAP fund pkg missing version number > should print name only 1`] = ` 43http://example.com/foo 44 \`-- foo 45 46` 47 48exports[`test/lib/commands/fund.js TAP fund using bad which value: index too high > should print message about invalid which 1`] = ` 49--which=100 is not a valid index 501: Funding available at the following URL: http://example.com 512: Funding available at the following URL: http://sponsors.example.com/me 523: Funding available at the following URL: http://collective.example.com 53Run \`npm fund [<package-spec>] --which=1\`, for example, to open the first funding URL listed in that package 54` 55 56exports[`test/lib/commands/fund.js TAP fund using nested packages with multiple sources > should prompt with all available URLs 1`] = ` 571: Funding available at the following URL: https://one.example.com 582: Funding available at the following URL: https://two.example.com 59Run \`npm fund [<package-spec>] --which=1\`, for example, to open the first funding URL listed in that package 60` 61 62exports[`test/lib/commands/fund.js TAP fund with no package containing funding > should print empty funding info 1`] = ` 63no-funding-package@0.0.0 64 65` 66 67exports[`test/lib/commands/fund.js TAP sub dep with fund info and a parent with no funding info > should nest sub dep as child of root 1`] = ` 68test-multiple-funding-sources@1.0.0 69+-- http://example.com/b 70| \`-- b@1.0.0 71\`-- http://example.com/c 72 \`-- c@1.0.0 73 74` 75 76exports[`test/lib/commands/fund.js TAP workspaces filter funding info by a specific workspace name > should display only filtered workspace name and its deps 1`] = ` 77workspaces-support@1.0.0 78\`-- https://example.com/a 79 | \`-- a@1.0.0 80 \`-- http://example.com/c 81 \`-- c@1.0.0 82 83` 84 85exports[`test/lib/commands/fund.js TAP workspaces filter funding info by a specific workspace path > should display only filtered workspace name and its deps 1`] = ` 86workspaces-support@1.0.0 87\`-- https://example.com/a 88 | \`-- a@1.0.0 89 \`-- http://example.com/c 90 \`-- c@1.0.0 91 92` 93