%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /home/ubuntu/node-v16.18.1/deps/npm/tap-snapshots/test/lib/commands/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //home/ubuntu/node-v16.18.1/deps/npm/tap-snapshots/test/lib/commands/doctor.js.test.cjs
/* IMPORTANT
 * This snapshot file is auto-generated, but designed for humans.
 * It should be checked into source control and tracked carefully.
 * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
 * Make sure to inspect the output below.  Do not ignore changes!
 */
'use strict'
exports[`test/lib/commands/doctor.js TAP all clear > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP all clear > output 1`] = `
Check                               Value  Recommendation/Notes
npm ping                            ok
npm -v                              ok     current: v1.0.0, latest: v1.0.0
node -v                             ok     current: v1.0.0, recommended: v1.0.0
npm config get registry             ok     using default registry (https://registry.npmjs.org/)
which git                           ok     /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok     verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP all clear in color > everything is ok in color 1`] = `
Check                               Value  Recommendation/Notes
npm ping                            ok
npm -v                              ok     current: v1.0.0, latest: v1.0.0
node -v                             ok     current: v1.0.0, recommended: v1.0.0
npm config get registry             ok     using default registry (https://registry.npmjs.org/)
which git                           ok     /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok     verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP all clear in color > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP bad proxy > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP bad proxy > output 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            not ok  unsupported proxy protocol: 'ssh:'
npm -v                              not ok  Error: unsupported proxy protocol: 'ssh:'
node -v                             not ok  Error: unsupported proxy protocol: 'ssh:'
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP cacache badContent > corrupted cache content 1`] = `
Check                               Value  Recommendation/Notes
npm ping                            ok
npm -v                              ok     current: v1.0.0, latest: v1.0.0
node -v                             ok     current: v1.0.0, recommended: v1.0.0
npm config get registry             ok     using default registry (https://registry.npmjs.org/)
which git                           ok     /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok     verified 2 tarballs
`

exports[`test/lib/commands/doctor.js TAP cacache badContent > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 1,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 2
        }
      ),
    ],
  ],
  "warn": Array [
    Array [
      "verifyCachedFiles",
      "Corrupted content removed: 1",
    ],
    Array [
      "verifyCachedFiles",
      "Cache issues have been fixed",
    ],
  ],
}
`

exports[`test/lib/commands/doctor.js TAP cacache missingContent > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 1,
          "verifiedContent": 2
        }
      ),
    ],
  ],
  "warn": Array [
    Array [
      "verifyCachedFiles",
      "Missing content: 1",
    ],
    Array [
      "verifyCachedFiles",
      "Cache issues have been fixed",
    ],
  ],
}
`

exports[`test/lib/commands/doctor.js TAP cacache missingContent > missing content 1`] = `
Check                               Value  Recommendation/Notes
npm ping                            ok
npm -v                              ok     current: v1.0.0, latest: v1.0.0
node -v                             ok     current: v1.0.0, recommended: v1.0.0
npm config get registry             ok     using default registry (https://registry.npmjs.org/)
which git                           ok     /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok     verified 2 tarballs
`

exports[`test/lib/commands/doctor.js TAP cacache reclaimedCount > content garbage collected 1`] = `
Check                               Value  Recommendation/Notes
npm ping                            ok
npm -v                              ok     current: v1.0.0, latest: v1.0.0
node -v                             ok     current: v1.0.0, recommended: v1.0.0
npm config get registry             ok     using default registry (https://registry.npmjs.org/)
which git                           ok     /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok     verified 2 tarballs
`

exports[`test/lib/commands/doctor.js TAP cacache reclaimedCount > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 1,
          "missingContent": 0,
          "verifiedContent": 2
        }
      ),
    ],
  ],
  "warn": Array [
    Array [
      "verifyCachedFiles",
      "Content garbage-collected: 1 (undefined bytes)",
    ],
    Array [
      "verifyCachedFiles",
      "Cache issues have been fixed",
    ],
  ],
}
`

exports[`test/lib/commands/doctor.js TAP error reading directory > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [
    Array [
      "checkFilesPermission",
      "error reading directory {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/cache",
    ],
    Array [
      "checkFilesPermission",
      "error reading directory {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/prefix/node_modules",
    ],
    Array [
      "checkFilesPermission",
      "error reading directory {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/global/lib/node_modules",
    ],
    Array [
      "checkFilesPermission",
      "error reading directory {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/prefix/node_modules/.bin",
    ],
    Array [
      "checkFilesPermission",
      "error reading directory {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/global/bin",
    ],
  ],
}
`

exports[`test/lib/commands/doctor.js TAP error reading directory > readdir error 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/cache (should be owned by current user)
Perms check on local node_modules   not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/prefix/node_modules (should be owned by current user)
Perms check on global node_modules  not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/global/lib/node_modules
Perms check on local bin folder     not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/prefix/node_modules/.bin
Perms check on global bin folder    not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-error-reading-directory/global/bin
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP incorrect owner > incorrect owner 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-owner/cache (should be owned by current user)
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP incorrect owner > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [
    Array [
      "checkFilesPermission",
      "should be owner of {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-owner/cache/_cacache",
    ],
  ],
}
`

exports[`test/lib/commands/doctor.js TAP incorrect permissions > incorrect owner 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/cache (should be owned by current user)
Perms check on local node_modules   not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/prefix/node_modules (should be owned by current user)
Perms check on global node_modules  not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/global/lib/node_modules
Perms check on local bin folder     not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/prefix/node_modules/.bin
Perms check on global bin folder    not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/global/bin
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP incorrect permissions > logs 1`] = `
Object {
  "error": Array [
    Array [
      "checkFilesPermission",
      "Missing permissions on {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/cache (expect: readable)",
    ],
    Array [
      "checkFilesPermission",
      "Missing permissions on {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/prefix/node_modules (expect: readable, writable)",
    ],
    Array [
      "checkFilesPermission",
      "Missing permissions on {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/global/lib/node_modules (expect: readable)",
    ],
    Array [
      "checkFilesPermission",
      "Missing permissions on {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/prefix/node_modules/.bin (expect: readable, writable, executable)",
    ],
    Array [
      "checkFilesPermission",
      "Missing permissions on {CWD}/test/lib/commands/tap-testdir-doctor-incorrect-permissions/global/bin (expect: executable)",
    ],
  ],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP missing git > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [
    Array [
      Error: test error,
    ],
  ],
}
`

exports[`test/lib/commands/doctor.js TAP missing git > missing git 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           not ok  Install git and ensure it's in your PATH.
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP missing global directories > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [
    Array [
      "checkFilesPermission",
      "error getting info for {CWD}/test/lib/commands/tap-testdir-doctor-missing-global-directories/global/lib/node_modules",
    ],
    Array [
      "checkFilesPermission",
      "error getting info for {CWD}/test/lib/commands/tap-testdir-doctor-missing-global-directories/global/bin",
    ],
  ],
}
`

exports[`test/lib/commands/doctor.js TAP missing global directories > missing global directories 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-missing-global-directories/global/lib/node_modules
Perms check on local bin folder     ok
Perms check on global bin folder    not ok  Check the permissions of files in {CWD}/test/lib/commands/tap-testdir-doctor-missing-global-directories/global/bin
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP missing local node_modules > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP missing local node_modules > missing local node_modules 1`] = `
Check                               Value  Recommendation/Notes
npm ping                            ok
npm -v                              ok     current: v1.0.0, latest: v1.0.0
node -v                             ok     current: v1.0.0, recommended: v1.0.0
npm config get registry             ok     using default registry (https://registry.npmjs.org/)
which git                           ok     /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok     verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP node out of date - current > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP node out of date - current > node is out of date 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             not ok  Use node v2.0.1 (current: v2.0.0)
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP node out of date - lts > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP node out of date - lts > node is out of date 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             not ok  Use node v1.0.0 (current: v0.0.1)
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP non-default registry > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP non-default registry > non default registry 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             not ok  Try \`npm config set registry=https://registry.npmjs.org/\`
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP npm out of date > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP npm out of date > npm is out of date 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              not ok  Use npm v2.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP ping 404 > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP ping 404 > ping 404 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            not ok  404 404 Not Found - GET https://registry.npmjs.org/-/ping?write=true
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP ping 404 in color > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP ping 404 in color > ping 404 in color 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            not ok  404 404 Not Found - GET https://registry.npmjs.org/-/ping?write=true
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP ping exception with code > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP ping exception with code > ping failure 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            not ok  request to https://registry.npmjs.org/-/ping?write=true failed, reason: Test Error
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP ping exception without code > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP ping exception without code > ping failure 1`] = `
Check                               Value   Recommendation/Notes
npm ping                            not ok  request to https://registry.npmjs.org/-/ping?write=true failed, reason: Test Error
npm -v                              ok      current: v1.0.0, latest: v1.0.0
node -v                             ok      current: v1.0.0, recommended: v1.0.0
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /path/to/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 0 tarballs
`

exports[`test/lib/commands/doctor.js TAP silent > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP silent > output 1`] = `

`

exports[`test/lib/commands/doctor.js TAP windows skips permissions checks > logs 1`] = `
Object {
  "error": Array [],
  "info": Array [
    Array [
      "Running checkup",
    ],
    Array [
      "checkPing",
      "Pinging registry",
    ],
    Array [
      "getLatestNpmVersion",
      "Getting npm package information",
    ],
    Array [
      "getLatestNodejsVersion",
      "Getting Node.js release information",
    ],
    Array [
      "getGitPath",
      "Finding git in your PATH",
    ],
    Array [
      "verifyCachedFiles",
      "Verifying the npm cache",
    ],
    Array [
      "verifyCachedFiles",
      String(
        Verification complete. Stats: {
          "badContentCount": 0,
          "reclaimedCount": 0,
          "missingContent": 0,
          "verifiedContent": 0
        }
      ),
    ],
  ],
  "warn": Array [],
}
`

exports[`test/lib/commands/doctor.js TAP windows skips permissions checks > no permissions checks 1`] = `
Check                    Value  Recommendation/Notes
npm ping                 ok
npm -v                   ok     current: v1.0.0, latest: v1.0.0
node -v                  ok     current: v1.0.0, recommended: v1.0.0
npm config get registry  ok     using default registry (https://registry.npmjs.org/)
which git                ok     /path/to/git
Verify cache contents    ok     verified 0 tarballs
`

Kontol Shell Bypass