{"_id":"test-result","_rev":"1726466","name":"test-result","description":"A simple module to mark the result of your tests","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"time":{"modified":"2026-11-11T19:20:56.000Z","created":"2015-02-11T11:55:14.711Z","2.0.0":"2015-02-11T15:48:32.611Z","1.0.1":"2015-02-11T13:45:18.375Z","1.0.0":"2015-02-11T11:55:14.711Z"},"users":{},"author":{"name":"ForbesLindesay"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/test-result.git"},"versions":{"2.0.0":{"name":"test-result","version":"2.0.0","description":"A simple module to mark the result of your tests","browser":"browser.js","main":"index.js","keywords":[],"dependencies":{},"scripts":{},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/test-result.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"1d8ccf7116d420a34063b95cc27d6b8186ff17e9","bugs":{"url":"https://github.com/ForbesLindesay/test-result/issues"},"homepage":"https://github.com/ForbesLindesay/test-result","_id":"test-result@2.0.0","_shasum":"140486ab1ea94a2c575e22b3f6cfa96271ce459e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"140486ab1ea94a2c575e22b3f6cfa96271ce459e","tarball":"http://registry-npm.ywwl.com/test-result/download/test-result-2.0.0.tgz","integrity":"sha512-FfrEuHno0/7d6leYA5r1mfjChYmG3urzHvGQJKgJH8byyzYBt3uqeqeWE2iiPXQ8a5Lf/N54ajDWN0BKGovBkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFIpOQT0Fke+pQKd7rfRFnKI2hZAYucZXu+wG9cDkIhrAiEA+51jkfqatHSf/htjiC8zNkqT+eK2zUf5CSKpc6prRak="}],"size":1807,"noattachment":false,"key":"/test-result/-/test-result-2.0.0.tgz"},"publish_time":1423669712611,"_cnpm_publish_time":1423669712611},"1.0.1":{"name":"test-result","version":"1.0.1","description":"A simple module to mark the result of your tests","browser":"browser.js","main":"index.js","keywords":[],"dependencies":{},"scripts":{},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/test-result.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"4bb4e137f65694ab01672c9a3a2bb17fe1b41743","bugs":{"url":"https://github.com/ForbesLindesay/test-result/issues"},"homepage":"https://github.com/ForbesLindesay/test-result","_id":"test-result@1.0.1","_shasum":"8de9b064dd938e639064f459700be20b3e614260","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"8de9b064dd938e639064f459700be20b3e614260","tarball":"http://registry-npm.ywwl.com/test-result/download/test-result-1.0.1.tgz","integrity":"sha512-M79MZt//avc9ZrkMCadTcgA9UEYGD7xs7igdsLFS/PD6VhnRBqmPLT73jE1E1FZtQvC5TECRo1x8keqwBLXGUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHi6X7fUOmdzb5PXmYn4TshmKSLo5ggO2pw4zEZS6QOAiAxK/huqJdf1mYt+AFOhagnY2a1CgU/Zo79y41eRvD2YA=="}],"size":1806,"noattachment":false,"key":"/test-result/-/test-result-1.0.1.tgz"},"publish_time":1423662318375,"_cnpm_publish_time":1423662318375},"1.0.0":{"name":"test-result","version":"1.0.0","description":"A simple module to mark the result of your tests","browser":"browser.js","main":"index.js","keywords":[],"dependencies":{},"scripts":{},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/test-result.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"d6a63567292ac5317916f52501f34c0b8271125f","bugs":{"url":"https://github.com/ForbesLindesay/test-result/issues"},"homepage":"https://github.com/ForbesLindesay/test-result","_id":"test-result@1.0.0","_shasum":"6fe6f027b60616caa1ae12847346a5804630263e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"6fe6f027b60616caa1ae12847346a5804630263e","tarball":"http://registry-npm.ywwl.com/test-result/download/test-result-1.0.0.tgz","integrity":"sha512-tLpd5seuxIfrVAsrUveZ+ELW+aR52Awo8tFqmJOUL3B2nzUIvwYVA72mR6sSqkMSd7H2tJJQA3f8U2xAayZITA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWRcJqmeL9izSyZbzCyA4IsrqW4ZQ4BkyPpmisO0T5KAiEAqEoPi1iHTbFeM6xmfjbctNR7QCL3yLiwCDxgB72MZDs="}],"size":1799,"noattachment":false,"key":"/test-result/-/test-result-1.0.0.tgz"},"publish_time":1423655714711,"_cnpm_publish_time":1423655714711}},"readme":"# test-result\n\nA simple module to mark the result of your tests\n\n[![Build Status](https://img.shields.io/travis/ForbesLindesay/test-result/master.svg)](https://travis-ci.org/ForbesLindesay/test-result)\n[![Dependency Status](https://img.shields.io/gemnasium/ForbesLindesay/test-result.svg)](https://gemnasium.com/ForbesLindesay/test-result)\n[![NPM version](https://img.shields.io/npm/v/test-result.svg)](https://www.npmjs.org/package/test-result)\n\n## Installation\n\n    npm install test-result\n\n## Usage\n\n```js\nvar result = require('test-result');\n\n// if tests passed\nresult.pass('the best tests');\n// if tests failed\nresult.fail('the worst tests');\n```\n\n## On the server\n\nIt will log a message for test pass or fail.  It will also `process.exit(1)` if the tests failed.\n\n## On the client\n\nIt will log a message for test pass or fail if the browser has console support.  It will also count the number of completed, passed and failed tests in three counters, initialized as:\n\n```js\nwindow.TESTS_COMPLETE = 0;\nwindow.TESTS_PASSED = 0;\nwindow.TESTS_FAILED = 0;\n```\n\n## License\n\n  MIT\n","_attachments":{},"homepage":"https://github.com/ForbesLindesay/test-result","bugs":{"url":"https://github.com/ForbesLindesay/test-result/issues"},"license":"MIT"}