-
-
Save othiym23/0294eefd4a9a93b3ce1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> [email protected] test /Users/ogd/Documents/projects/npm/npm-registry-couchapp | |
> tap test/*.js "-Rtap" | |
TAP version 13 | |
# Subtest: test/00-setup.js | |
TAP version 13 | |
# Subtest: cleanup | |
ok 1 - couch is no more | |
1..1 | |
ok 1 - cleanup # time=6.216ms | |
# Subtest: start couch as a zombie child | |
ok 1 - expect truthy value | |
ok 2 - relax, jeez | |
1..2 | |
ok 2 - start couch as a zombie child # time=417.048ms | |
# Subtest: create test db | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
1..2 | |
ok 3 - create test db # time=40.63ms | |
# Subtest: get the git-describe output | |
1..0 | |
ok 4 - get the git-describe output # time=7.817ms | |
# Subtest: ddoc | |
Preparing. | |
Serializing. | |
PUT http://admin:******@localhost:15986/registry/_design/scratch | |
Finished push. 1-ebbafb778b5b5720fb04f6c7f28585bb | |
ok 1 - expect falsey value | |
1..1 | |
ok 5 - ddoc # time=276.872ms | |
# Subtest: users ddoc | |
Preparing. | |
Serializing. | |
PUT http://admin:******@localhost:15986/_users/_design/scratch | |
Finished push. 1-3e2c09d404e8fdafcd9b213d21131949 | |
ok 1 - expect falsey value | |
1..1 | |
ok 6 - users ddoc # time=272.549ms | |
1..6 | |
# time=1039.029ms | |
ok 1 - test/00-setup.js # time=1194.867ms | |
# Subtest: test/01-adduser.js | |
TAP version 13 | |
# Subtest: adduser | |
Username: | |
Password: | |
Email: (this IS public) ([email protected]) | |
ok 1 - expect falsey value | |
1..1 | |
ok 1 - adduser # time=434.176ms | |
# Subtest: adduser again | |
Username: (user) | |
Password: (or leave unchanged) | |
Email: (this IS public) ([email protected]) | |
ok 1 - expect falsey value | |
1..1 | |
ok 2 - adduser again # time=423.059ms | |
# Subtest: adduser 2 | |
Username: | |
Password: | |
Email: (this IS public) ([email protected]) | |
ok 1 - expect falsey value | |
1..1 | |
ok 3 - adduser 2 # time=374.932ms | |
# Subtest: adduser 2 again | |
Username: (other) | |
Password: (or leave unchanged) | |
Email: (this IS public) ([email protected]) | |
ok 1 - expect falsey value | |
1..1 | |
ok 4 - adduser 2 again # time=409.322ms | |
# Subtest: adduser 3 | |
Username: | |
Password: | |
Email: (this IS public) ([email protected]) | |
ok 1 - expect falsey value | |
1..1 | |
ok 5 - adduser 3 # time=401.328ms | |
# Subtest: adduser 3 again | |
Username: (third) | |
Password: (or leave unchanged) | |
Email: (this IS public) ([email protected]) | |
ok 1 - expect falsey value | |
1..1 | |
ok 6 - adduser 3 again # time=388.149ms | |
1..6 | |
# time=2441.265ms | |
ok 2 - test/01-adduser.js # time=2572.663ms | |
# Subtest: test/01b-user-views.js | |
TAP version 13 | |
# Subtest: userByEmail?group=true | |
ok 1 - should be equivalent | |
1..1 | |
ok 1 - userByEmail?group=true # time=47.945ms | |
# Subtest: invalidUser | |
ok 1 - should be equivalent | |
1..1 | |
ok 2 - invalidUser # time=6.58ms | |
# Subtest: invalid?group=true | |
ok 1 - should be equivalent | |
1..1 | |
ok 3 - invalid?group=true # time=2.528ms | |
# Subtest: conflicts?group=true | |
ok 1 - should be equivalent | |
1..1 | |
ok 4 - conflicts?group=true # time=2.355ms | |
1..4 | |
# time=78.832ms | |
ok 3 - test/01b-user-views.js # time=221.035ms | |
# Subtest: test/01c-user-updates.js | |
TAP version 13 | |
# Subtest: update profile | |
ok 1 - should be equivalent | |
ok 2 - should be equivalent | |
1..2 | |
ok 1 - update profile # time=45.949ms | |
# Subtest: update email | |
ok 1 - user metadata fetched | |
ok 2 - user email address changed | |
ok 3 - user record updated on second fetch | |
ok 4 - should be equivalent | |
1..4 | |
ok 2 - update email # time=17.354ms | |
1..2 | |
# time=172.973ms | |
ok 4 - test/01c-user-updates.js # time=309.599ms | |
# Subtest: test/01d-whoami.js | |
TAP version 13 | |
# Subtest: hit whoami endpoint as user | |
ok 1 - should be equivalent | |
1..1 | |
ok 1 - hit whoami endpoint as user # time=33.748ms | |
# Subtest: hit whoami endpoint as anon | |
ok 1 - should be equivalent | |
1..1 | |
ok 2 - hit whoami endpoint as anon # time=12.492ms | |
# Subtest: hit whoami with wrong pass | |
ok 1 - should be equivalent | |
1..1 | |
ok 3 - hit whoami with wrong pass # time=2.928ms | |
1..3 | |
# time=164.862ms | |
ok 5 - test/01d-whoami.js # time=299.101ms | |
# Subtest: test/02-publish.js | |
TAP version 13 | |
# Subtest: get npm version | |
ok 1 - expect falsey value | |
1..1 | |
ok 1 - get npm version # time=211.754ms | |
# Subtest: first publish | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 2 - first publish # time=527.087ms | |
# Subtest: attachment: package/-/package-0.0.2.tgz | |
ok 1 - should be equal | |
1..1 | |
ok 3 - attachment: package/-/package-0.0.2.tgz # time=16.071ms | |
# Subtest: attachment: npm/public/registry/package/_attachments/package-0.0.2.tgz | |
ok 1 - should be equal | |
1..1 | |
ok 4 - attachment: npm/public/registry/package/_attachments/package-0.0.2.tgz # time=10.175ms | |
# Subtest: attachment: npm/public/registry/p/package/_attachments/package-0.0.2.tgz | |
ok 1 - should be equal | |
1..1 | |
ok 5 - attachment: npm/public/registry/p/package/_attachments/package-0.0.2.tgz # time=4.334ms | |
# Subtest: GET after publish | |
ok 1 - should be equal | |
ok 2 - should match pattern provided | |
ok 3 - should match pattern provided | |
1..3 | |
ok 6 - GET after publish # time=11.075ms | |
# Subtest: GET with x-forwarded-for | |
ok 1 - should be equal | |
ok 2 - should be equal | |
1..2 | |
ok 7 - GET with x-forwarded-for # time=9.229ms | |
# Subtest: fail to clobber | |
ok 1 - expect truthy value | |
1..1 | |
ok 8 - fail to clobber # time=458.146ms | |
# Subtest: fail to publish as other user | |
ok 1 - expect truthy value | |
1..1 | |
ok 9 - fail to publish as other user # time=492.113ms | |
# Subtest: publish update as non-latest | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 10 - publish update as non-latest # time=469.371ms | |
# Subtest: GET after update | |
ok 1 - should be equal | |
ok 2 - should match pattern provided | |
ok 3 - should match pattern provided | |
1..3 | |
ok 11 - GET after update # time=11.947ms | |
# Subtest: add second publisher | |
ok 1 - expect falsey value | |
1..1 | |
ok 12 - add second publisher # time=410.17ms | |
# Subtest: get after owner add | |
ok 1 - should be equal | |
ok 2 - should match pattern provided | |
ok 3 - should match pattern provided | |
1..3 | |
ok 13 - get after owner add # time=13.961ms | |
# Subtest: other owner publish | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 14 - other owner publish # time=467.214ms | |
# Subtest: get after other publish (and x-forwarded-proto) | |
ok 1 - should be equal | |
ok 2 - should match pattern provided | |
ok 3 - should match pattern provided | |
1..3 | |
ok 15 - get after other publish (and x-forwarded-proto) # time=12.303ms | |
# Subtest: install the thing we published | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 16 - install the thing we published # time=506.737ms | |
# Subtest: remove all the tarballs | |
ok 1 - should be equal | |
ok 2 - should be equal | |
1..2 | |
ok 17 - remove all the tarballs # time=16.387ms | |
# Subtest: try to attach a new tarball (and fail) | |
ok 1 - should be equal | |
ok 2 - should be equal | |
1..2 | |
ok 18 - try to attach a new tarball (and fail) # time=14.272ms | |
# Subtest: admin user can publish scoped package | |
ok 1 - should be equal | |
1..1 | |
ok 19 - admin user can publish scoped package # time=19.362ms | |
1..19 | |
# time=3793.798ms | |
ok 6 - test/02-publish.js # time=3930.008ms | |
# Subtest: test/02b-dist-tags.js | |
TAP version 13 | |
# Subtest: GET dist-tags | |
ok 1 - should be equivalent | |
1..1 | |
ok 1 - GET dist-tags # time=25.145ms | |
# Subtest: PUT new dist tag set | |
1..3 | |
# Subtest: fail as anon | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
1..2 | |
ok 1 - fail as anon # time=17.406ms | |
# Subtest: succeed with auth | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
1..2 | |
ok 2 - succeed with auth # time=13.421ms | |
# Subtest: GET after success | |
ok 1 - should be equivalent | |
1..1 | |
ok 3 - GET after success # time=7.48ms | |
ok 2 - PUT new dist tag set # time=40.289ms | |
# Subtest: POST new dist tag set | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
ok 3 - should be equivalent | |
1..3 | |
ok 3 - POST new dist tag set # time=19.229ms | |
# Subtest: PUT one new tag | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
ok 3 - should be equivalent | |
1..3 | |
ok 4 - PUT one new tag # time=19.588ms | |
# Subtest: POST one new tag | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
ok 3 - should be equivalent | |
1..3 | |
ok 5 - POST one new tag # time=20.336ms | |
# Subtest: DELETE blerb tag | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
ok 3 - should be equivalent | |
1..3 | |
ok 6 - DELETE blerb tag # time=19.955ms | |
# Subtest: Cannot DELETE latest tag | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
ok 3 - should be equivalent | |
1..3 | |
ok 7 - Cannot DELETE latest tag # time=19.016ms | |
# Subtest: cannot set tag to invalid version | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
1..2 | |
ok 8 - cannot set tag to invalid version # time=12.541ms | |
# Subtest: put tags back like we found them | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
1..2 | |
ok 9 - put tags back like we found them # time=12.751ms | |
1..9 | |
# time=298.499ms | |
ok 7 - test/02b-dist-tags.js # time=433.126ms | |
# Subtest: test/03-star.js | |
TAP version 13 | |
# Subtest: non-owner can star package | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 1 - non-owner can star package # time=385.149ms | |
# Subtest: non-owner can unstar package | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 2 - non-owner can unstar package # time=373.955ms | |
# Subtest: simulate old-style multi-readme doc | |
ok 1 - should be equal | |
1..1 | |
ok 3 - simulate old-style multi-readme doc # time=28.934ms | |
# Subtest: non-owner can star package | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 4 - non-owner can star package # time=435.749ms | |
# Subtest: non-owner can unstar package | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 5 - non-owner can unstar package # time=384.769ms | |
1..5 | |
# time=1626.528ms | |
ok 8 - test/03-star.js # time=1772.888ms | |
# Subtest: test/04-deprecate.js | |
TAP version 13 | |
# Subtest: deprecate | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 1 - deprecate # time=405.935ms | |
# Subtest: get data after deprecation | |
ok 1 - should be equal | |
1..1 | |
ok 2 - get data after deprecation # time=22.785ms | |
# Subtest: un-deprecate | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 3 - un-deprecate # time=373.136ms | |
# Subtest: get data after un-deprecation | |
ok 1 - expect falsey value | |
1..1 | |
ok 4 - get data after un-deprecation # time=15.632ms | |
1..4 | |
# time=833.435ms | |
ok 9 - test/04-deprecate.js # time=981.589ms | |
# Subtest: test/04b-registry-views-expect.js | |
not ok 10 - test/04b-registry-views-expect.js # time=79.124ms | |
--- | |
results: | |
ok: false | |
count: 0 | |
pass: 0 | |
timeout: 30000 | |
arguments: | |
- test/04b-registry-views-expect.js | |
command: /usr/local/bin/iojs | |
file: test/04b-registry-views-expect.js | |
... | |
# Subtest: test/04b-registry-views.js | |
TAP version 13 | |
# Subtest: norevs | |
ok 1 - should match pattern provided | |
1..1 | |
ok 1 - norevs # time=54.913ms | |
# Subtest: mixedcase | |
ok 1 - should match pattern provided | |
1..1 | |
ok 2 - mixedcase # time=7.441ms | |
# Subtest: conflicts | |
ok 1 - should match pattern provided | |
1..1 | |
ok 3 - conflicts # time=3.24ms | |
# Subtest: oddhost | |
ok 1 - should match pattern provided | |
1..1 | |
ok 4 - oddhost # time=3.18ms | |
# Subtest: updated | |
ok 1 - should match pattern provided | |
1..1 | |
ok 5 - updated # time=3.792ms | |
# Subtest: listAll | |
ok 1 - should match pattern provided | |
1..1 | |
ok 6 - listAll # time=3.529ms | |
# Subtest: allVersions | |
ok 1 - should match pattern provided | |
1..1 | |
ok 7 - allVersions # time=3.787ms | |
# Subtest: noShasum | |
ok 1 - should match pattern provided | |
1..1 | |
ok 8 - noShasum # time=4.26ms | |
# Subtest: byEngine | |
ok 1 - should match pattern provided | |
1..1 | |
ok 9 - byEngine # time=3.553ms | |
# Subtest: countVersions | |
ok 1 - should match pattern provided | |
1..1 | |
ok 10 - countVersions # time=3.48ms | |
# Subtest: byKeyword | |
ok 1 - should match pattern provided | |
1..1 | |
ok 11 - byKeyword # time=4.184ms | |
# Subtest: byField | |
ok 1 - should match pattern provided | |
1..1 | |
ok 12 - byField # time=4.077ms | |
# Subtest: needBuild | |
ok 1 - should match pattern provided | |
1..1 | |
ok 13 - needBuild # time=3.281ms | |
# Subtest: scripts | |
ok 1 - should match pattern provided | |
1..1 | |
ok 14 - scripts # time=3.945ms | |
# Subtest: nodeWafInstall | |
ok 1 - should match pattern provided | |
1..1 | |
ok 15 - nodeWafInstall # time=3.777ms | |
# Subtest: orphanAttachments | |
ok 1 - should match pattern provided | |
1..1 | |
ok 16 - orphanAttachments # time=3.606ms | |
# Subtest: noAttachment | |
ok 1 - should match pattern provided | |
1..1 | |
ok 17 - noAttachment # time=4.408ms | |
# Subtest: starredByUser | |
ok 1 - should match pattern provided | |
1..1 | |
ok 18 - starredByUser # time=3.15ms | |
# Subtest: starredByPackage | |
ok 1 - should match pattern provided | |
1..1 | |
ok 19 - starredByPackage # time=3.159ms | |
# Subtest: byUser | |
ok 1 - should match pattern provided | |
1..1 | |
ok 20 - byUser # time=4.859ms | |
# Subtest: browseAuthorsRecent | |
ok 1 - should match pattern provided | |
1..1 | |
ok 21 - browseAuthorsRecent # time=5.766ms | |
# Subtest: npmTop | |
ok 1 - should match pattern provided | |
1..1 | |
ok 22 - npmTop # time=3.648ms | |
# Subtest: browseAuthors | |
ok 1 - should match pattern provided | |
1..1 | |
ok 23 - browseAuthors # time=4.115ms | |
# Subtest: browseUpdated | |
ok 1 - should match pattern provided | |
1..1 | |
ok 24 - browseUpdated # time=3.838ms | |
# Subtest: browseAll | |
ok 1 - should match pattern provided | |
1..1 | |
ok 25 - browseAll # time=2.966ms | |
# Subtest: analytics | |
ok 1 - should match pattern provided | |
1..1 | |
ok 26 - analytics # time=3.235ms | |
# Subtest: dependedUpon | |
ok 1 - should match pattern provided | |
1..1 | |
ok 27 - dependedUpon # time=3.293ms | |
# Subtest: dependentVersions | |
ok 1 - should match pattern provided | |
1..1 | |
ok 28 - dependentVersions # time=3.012ms | |
# Subtest: browseStarUser | |
ok 1 - should match pattern provided | |
1..1 | |
ok 29 - browseStarUser # time=3.668ms | |
# Subtest: browseStarPackage | |
ok 1 - should match pattern provided | |
1..1 | |
ok 30 - browseStarPackage # time=2.929ms | |
# Subtest: fieldsInUse | |
ok 1 - should match pattern provided | |
1..1 | |
ok 31 - fieldsInUse # time=2.965ms | |
# Subtest: norevs?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 32 - norevs?group=true # time=3.617ms | |
# Subtest: conflicts?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 33 - conflicts?group=true # time=3.21ms | |
# Subtest: oddhost?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 34 - oddhost?group=true # time=3.718ms | |
# Subtest: allVersions?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 35 - allVersions?group=true # time=3.368ms | |
# Subtest: noShasum?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 36 - noShasum?group=true # time=3.635ms | |
# Subtest: countVersions?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 37 - countVersions?group=true # time=4.073ms | |
# Subtest: byKeyword?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 38 - byKeyword?group=true # time=4.476ms | |
# Subtest: noAttachment?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 39 - noAttachment?group=true # time=3.567ms | |
# Subtest: browseAuthorsRecent?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 40 - browseAuthorsRecent?group=true # time=2.99ms | |
# Subtest: npmTop?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 41 - npmTop?group=true # time=2.994ms | |
# Subtest: browseAuthors?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 42 - browseAuthors?group=true # time=2.978ms | |
# Subtest: browseUpdated?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 43 - browseUpdated?group=true # time=3.304ms | |
# Subtest: browseAll?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 44 - browseAll?group=true # time=3.633ms | |
# Subtest: analytics?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 45 - analytics?group=true # time=3.521ms | |
# Subtest: dependedUpon?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 46 - dependedUpon?group=true # time=2.997ms | |
# Subtest: dependentVersions?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 47 - dependentVersions?group=true # time=3.147ms | |
# Subtest: browseStarUser?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 48 - browseStarUser?group=true # time=2.912ms | |
# Subtest: browseStarPackage?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 49 - browseStarPackage?group=true # time=2.871ms | |
# Subtest: fieldsInUse?group=true | |
ok 1 - should match pattern provided | |
1..1 | |
ok 50 - fieldsInUse?group=true # time=3.315ms | |
1..50 | |
# time=257.745ms | |
ok 11 - test/04b-registry-views.js # time=389.952ms | |
# Subtest: test/04c-lists.js | |
TAP version 13 | |
# Subtest: lists global packages | |
ok 1 - global package listed | |
1..1 | |
ok 1 - lists global packages # time=23.702ms | |
# Subtest: hides scoped packages | |
ok 1 - scoped package listed | |
1..1 | |
ok 2 - hides scoped packages # time=10.132ms | |
1..2 | |
# time=49.567ms | |
ok 12 - test/04c-lists.js # time=184.614ms | |
# Subtest: test/05-unpublish.js | |
TAP version 13 | |
# Subtest: unpublish | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 1 - unpublish # time=439.604ms | |
# Subtest: GET after unpublish | |
ok 1 - should be equal | |
ok 2 - should match pattern provided | |
ok 3 - should be equal | |
ok 4 - should be equivalent | |
ok 5 - should be equivalent | |
ok 6 - should be equal | |
1..6 | |
ok 2 - GET after unpublish # time=25.821ms | |
# Subtest: fail to clobber | |
ok 1 - expect truthy value | |
1..1 | |
ok 3 - fail to clobber # time=513.883ms | |
# Subtest: publish new version as new user | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 4 - publish new version as new user # time=467.027ms | |
# Subtest: now unpublish the new version | |
ok 1 - expect falsey value | |
ok 2 - should be equal | |
1..2 | |
ok 5 - now unpublish the new version # time=473.066ms | |
# Subtest: GET after unpublish | |
ok 1 - should be equal | |
ok 2 - should match pattern provided | |
ok 3 - should be equal | |
ok 4 - should be equivalent | |
ok 5 - should be equivalent | |
ok 6 - should be equal | |
ok 7 - should be equal | |
ok 8 - should be equivalent | |
ok 9 - should be equivalent | |
ok 10 - should be equivalent | |
1..10 | |
ok 6 - GET after unpublish # time=20.044ms | |
1..6 | |
# time=1956.422ms | |
ok 13 - test/05-unpublish.js # time=2095.331ms | |
# Subtest: test/06-not-implemented.js | |
TAP version 13 | |
# Subtest: not implemented endpoints should 501 | |
1..4 | |
# Subtest: get /-/package/package/access | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
1..2 | |
ok 1 - get /-/package/package/access # time=22.082ms | |
# Subtest: put /-/package/package/access | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
1..2 | |
ok 2 - put /-/package/package/access # time=12.889ms | |
# Subtest: post /-/package/package/access | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
1..2 | |
ok 3 - post /-/package/package/access # time=7.743ms | |
# Subtest: del /-/package/package/access | |
ok 1 - should be equal | |
ok 2 - should be equivalent | |
1..2 | |
ok 4 - del /-/package/package/access # time=7.73ms | |
ok 1 - not implemented endpoints should 501 # time=56.029ms | |
1..1 | |
# time=159.858ms | |
ok 14 - test/06-not-implemented.js # time=300.568ms | |
# Subtest: test/common.js | |
1..1 | |
ok - nothing to see here | |
ok 15 - test/common.js # time=88.658ms | |
# Subtest: test/ping.js | |
TAP version 13 | |
# Subtest: ping http://admin:admin@localhost:15986/registry/_design/scratch/_show/ping | |
1..2 | |
ok 1 - expect truthy value | |
ok 2 - should be equivalent | |
ok 1 - ping http://admin:admin@localhost:15986/registry/_design/scratch/_show/ping # time=23.009ms | |
# Subtest: ping http://admin:admin@localhost:15986/registry/_design/scratch/_show/ping/any | |
1..2 | |
ok 1 - expect truthy value | |
ok 2 - should be equivalent | |
ok 2 - ping http://admin:admin@localhost:15986/registry/_design/scratch/_show/ping/any # time=9.737ms | |
# Subtest: ping http://admin:admin@localhost:15986/registry/_design/scratch/_rewrite/-/ping | |
1..2 | |
ok 1 - expect truthy value | |
ok 2 - should be equivalent | |
ok 3 - ping http://admin:admin@localhost:15986/registry/_design/scratch/_rewrite/-/ping # time=7.731ms | |
# Subtest: ping http://admin:admin@localhost:15986/registry/_design/scratch/_rewrite/-/ping/any | |
1..2 | |
ok 1 - expect truthy value | |
ok 2 - should be equivalent | |
ok 4 - ping http://admin:admin@localhost:15986/registry/_design/scratch/_rewrite/-/ping/any # time=7.896ms | |
1..4 | |
# time=55.596ms | |
ok 16 - test/ping.js # time=195.514ms | |
# Subtest: test/pkg-update-copy-fields.js | |
TAP version 13 | |
# Subtest: hange the things | |
ok 1 - should be equivalent | |
ok 2 - should be equivalent | |
1..2 | |
ok 1 - hange the things # time=13.745ms | |
1..1 | |
# time=29.802ms | |
ok 17 - test/pkg-update-copy-fields.js # time=188.382ms | |
# Subtest: test/pkg-update-deprecate-msg.js | |
TAP version 13 | |
# Subtest: deprecation update | |
ok 1 - should be equivalent | |
ok 2 - should be equivalent | |
1..2 | |
ok 1 - deprecation update # time=14.037ms | |
1..1 | |
# time=29.413ms | |
ok 18 - test/pkg-update-deprecate-msg.js # time=170.544ms | |
# Subtest: test/pkg-update-hoodie.js | |
TAP version 13 | |
# Subtest: new hoodie version | |
ok 1 - should be equivalent | |
1..1 | |
ok 1 - new hoodie version # time=17.233ms | |
1..1 | |
# time=33.172ms | |
ok 19 - test/pkg-update-hoodie.js # time=169.773ms | |
# Subtest: test/pkg-update-metadata.js | |
TAP version 13 | |
# Subtest: new googalytics description by non-maintainer | |
ok 1 - should be equivalent | |
1..1 | |
ok 1 - new googalytics description by non-maintainer # time=12.347ms | |
# Subtest: new googalytics description by maintainer | |
ok 1 - should be equivalent | |
ok 2 - should be equivalent | |
1..2 | |
ok 2 - new googalytics description by maintainer # time=1.797ms | |
1..2 | |
# time=32.059ms | |
ok 20 - test/pkg-update-metadata.js # time=172.541ms | |
# Subtest: test/pkg-update-star-nopt.js | |
TAP version 13 | |
# Subtest: new yui version | |
ok 1 - should be equivalent | |
1..1 | |
ok 1 - new yui version # time=15.136ms | |
# Subtest: atomic put for star | |
ok 1 - should be equivalent | |
1..1 | |
ok 2 - atomic put for star # time=2.053ms | |
# Subtest: atomic put for unstar | |
ok 1 - should be equivalent | |
1..1 | |
ok 3 - atomic put for unstar # time=1.9ms | |
1..3 | |
# time=34.962ms | |
ok 21 - test/pkg-update-star-nopt.js # time=172.502ms | |
# Subtest: test/pkg-update-yui-error.js | |
TAP version 13 | |
# Subtest: new yui version | |
ok 1 - should be equivalent | |
1..1 | |
ok 1 - new yui version # time=22.422ms | |
1..1 | |
# time=38.632ms | |
ok 22 - test/pkg-update-yui-error.js # time=169.011ms | |
# Subtest: test/vdu-auth.js | |
TAP version 13 | |
# Subtest: vdu test case 01 | |
ok 1 - got expected error | |
ok 2 - Expected throw: {"forbidden":"Email must be an email address"} | |
1..2 | |
ok 1 - vdu test case 01 # time=7.008ms | |
# Subtest: vdu test case 02 | |
ok 1 - got expected error | |
ok 2 - Expected throw: {"forbidden":"doc.iterations must be a number"} | |
1..2 | |
ok 2 - vdu test case 02 # time=1.741ms | |
# Subtest: vdu test case 03 | |
ok 1 - got expected error | |
ok 2 - Expected throw: {"forbidden":"may not mix password_sha and pbkdf2\nYou may need to upgrade your version of npm:\n npm install npm -g\nNote that this may need to be run as root/admin (sudo, etc.)\n\n"} | |
1..2 | |
ok 3 - vdu test case 03 # time=0.425ms | |
1..3 | |
# time=18.179ms | |
ok 23 - test/vdu-auth.js # time=151.567ms | |
# Subtest: test/vdu.js | |
TAP version 13 | |
# Subtest: vdu test case 01 | |
ok 1 - got expected error | |
ok 2 - Expected throw: {"forbidden":"Changing published version metadata is not allowed"} | |
1..2 | |
ok 1 - vdu test case 01 # time=15.261ms | |
# Subtest: vdu test case 02 | |
ok 1 - should not throw | |
1..1 | |
ok 2 - vdu test case 02 # time=1.565ms | |
# Subtest: vdu test case 03 | |
ok 1 - got expected error | |
ok 2 - Expected throw: {"forbidden":"_npmUser.name must match user.name: 0.0.3"} | |
1..2 | |
ok 3 - vdu test case 03 # time=1.076ms | |
# Subtest: vdu test case 04 | |
ok 1 - got expected error | |
ok 2 - Expected throw: {"forbidden":"may not remove dist-tags"} | |
1..2 | |
ok 4 - vdu test case 04 # time=1.093ms | |
# Subtest: vdu test case 05 | |
ok 1 - got expected error | |
ok 2 - Expected throw: {"forbidden":"star setting must be a boolean, got string"} | |
1..2 | |
ok 5 - vdu test case 05 # time=0.951ms | |
# Subtest: vdu test case 06 | |
ok 1 - should not throw | |
1..1 | |
ok 6 - vdu test case 06 # time=0.752ms | |
# Subtest: vdu test case 07 | |
ok 1 - should not throw | |
1..1 | |
ok 7 - vdu test case 07 # time=0.74ms | |
# Subtest: vdu test case 08 | |
ok 1 - got expected error | |
ok 2 - Expected throw: {"forbidden":"global packages may only depend on other global packages"} | |
1..2 | |
ok 8 - vdu test case 08 # time=0.972ms | |
# Subtest: vdu test case 09 | |
ok 1 - got expected error | |
ok 2 - Expected throw: {"forbidden":"user: testuser not authorized to modify @npm/npm-test-blerg\nAdded: _id\nAdded: name\nAdded: description\nAdded: dist-tags\nAdded: versions\nAdded: readme\nAdded: maintainers\nAdded: time\nAdded: readmeFilename\nAdded: users"} | |
1..2 | |
ok 9 - vdu test case 09 # time=0.877ms | |
1..9 | |
# time=33.117ms | |
ok 24 - test/vdu.js # time=176.817ms | |
# Subtest: test/zz-teardown.js | |
TAP version 13 | |
# Subtest: cleanup | |
ok 1 - couch is no more | |
1..1 | |
ok 1 - cleanup # time=8.839ms | |
1..1 | |
# time=17.743ms | |
ok 25 - test/zz-teardown.js # time=157.405ms | |
1..25 | |
# failed 1 of 25 tests | |
# time=16590.597ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment