{"_id":"mocha-phantomjs-core","_rev":"21-4b386fafb9338a5b9cbaf2e9c96a4ca3","name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","dist-tags":{"latest":"2.1.2"},"versions":{"0.0.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"0.0.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/metaskills/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"http://github.com/metaskills/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/metaskills/mocha-phantomjs-core/issues"},"main":"./lib/mocha-phantomjs.coffee","scripts":{"test":"mocha --compilers coffee:coffee-script test/mocha-phantomjs.coffee -t 20000 -R spec"},"peerDependencies":{"phantomjs":"~1.9.1"},"dependencies":{"mocha":"~1.20.1","commander":"~2.0.0"},"devDependencies":{"phantomjs":"~1.9.1","chai":"1.8.x","coffee-script":"1.6.x","requirejs":"2.1.x"},"gitHead":"251edff040ec4207f896c7eb10c479094ba31e3a","homepage":"https://github.com/metaskills/mocha-phantomjs-core","_id":"mocha-phantomjs-core@0.0.1","_shasum":"810f902f0187789371f301775951b41113c5a7d8","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"dist":{"shasum":"810f902f0187789371f301775951b41113c5a7d8","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-0.0.1.tgz","integrity":"sha512-9JyPn0PMyHFVrgiRaicbkZjNc+fI+G2LtkxrXgOxEA8dH4Q64ckknxWvn9xvA6QKLwgSIhc1RqvEET1qo17n0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2Ne7rR27Uf/e7r+AxozzEuv/720C1gsfUC99y+lMwtAiEAia38qIyEt/f0RzKokNWXWh5PxOFv1mIFhpNXixjq3/Q="}]}},"0.1.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"0.1.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"http://github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/mocha-phantomjs.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"00ab42ac5a817e5f20c587703a7afe816acfbf83","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core","_id":"mocha-phantomjs-core@0.1.0","_shasum":"39801d6907f4b98ad545cfc17c59dfe804cb239a","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"dist":{"shasum":"39801d6907f4b98ad545cfc17c59dfe804cb239a","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-0.1.0.tgz","integrity":"sha512-4flAHRuBUKoXXHpcQ+YMUPMd4nzFY8fayRl2g9X0qIzjG+DySACzl77xZoiKsA7uIAcmrSaO2gPJTJ0CC+cfdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAN7uPsZDjk9Mg27qSbNHQ7dAI2vLREiJ6p+/QK0qj9YAiEAp67xUWL4+5IepEkgac3qvIMPwankU7DJzs9kIgNT/1I="}]}},"0.2.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"0.2.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"http://github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"751550d8fe03b3a6cd8d7afc3691843fde7ffc00","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core","_id":"mocha-phantomjs-core@0.2.0","_shasum":"846331bcaf566abab710adc52da19ef791c7c3b2","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"dist":{"shasum":"846331bcaf566abab710adc52da19ef791c7c3b2","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-0.2.0.tgz","integrity":"sha512-YnmwX3qmBenYHptOGl/Q612dZPEbXQw/q5IXtT0oG3UXS1ZOnRpstR21ScKKicq7+kQZGgAubor3RCYTycb4AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwIjIySzy4aRHTvJ1ViHfAtW17Z0GmjP5KPv0pfST9yQIgM0/qwVyRNlSaf95W4nH74Nm9sdyhD7slWy01Pyg/tAc="}]}},"0.2.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"0.2.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"77af68b20d5279106917f73aae5d5ce63e3e5760","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@0.2.1","_shasum":"ab40c083ffaaf99ec845f70b6b6b3bbc119b83a3","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"ab40c083ffaaf99ec845f70b6b6b3bbc119b83a3","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-0.2.1.tgz","integrity":"sha512-KsrawGmCaGvEW5gsKsblxCHaIEHqV7tt5vFZdJwWQTGu6zAYWpvfTqkCzD0nQeiyGlENaDOkYsLHQMNzP5u8LA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQDAfdJyTL0Ag0wrmNiw/HWp6LCRALV4C9J7fV4IHloAiAp6Bv7+brF12504DF98zCCfoDjlgLiK4SAeyZJqeW4Og=="}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}]},"1.0.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.0.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"6758732098dfc0cc8d723c760bddb29eda453366","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.0.0","_shasum":"b3176d15ad938ca1c9dd9278799f08a285f6d5d4","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"b3176d15ad938ca1c9dd9278799f08a285f6d5d4","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-1.0.0.tgz","integrity":"sha512-7yMRZ7C+YichZ8/OV9OGDi4sc2XsFPR+SEx+k+Stw0T/0yaERKTF+atOZA2IQ2+v1TPiYivCsfiRSm46vcfWjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw7RzVG3/elCnqcu/CmAsgQbefvb6tVPRvLYTIZbuxHAIhAJVSNU7dbgcFZ+TlgC595qu0+2STRFRGLNw+o+IbDTJ/"}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}]},"1.0.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.0.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"2e60d5c445bd41ff3b918e6437fd640e6f6d5ae9","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.0.1","_shasum":"c079faff5711c56c8d82e5d9ee0f124414ccfde9","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"c079faff5711c56c8d82e5d9ee0f124414ccfde9","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-1.0.1.tgz","integrity":"sha512-TIc/xBPkvaPOAhHonh3Y8ly5SRHA6g/HFnLk4yOOjnTCJ9YXM4OAt/v6XfbT+aefN8wSB3ggmNMFT3bQgfgYTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCt/XxsqVl6aEEFkfUIWSBshFPUn2gX44LurkJ3u5GkwIhAOSJPUzxfBbpuibpn1por3A7MG0kWr94onkO1sXYTarH"}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}]},"1.1.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.1.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"df021868a2c69173441f56995e97908e04d84c93","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.1.0","_shasum":"237cb0169912badc7ce8fa4fff485deb6d7ca9ed","_from":".","_npmVersion":"2.14.2","_nodeVersion":"3.0.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"237cb0169912badc7ce8fa4fff485deb6d7ca9ed","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-1.1.0.tgz","integrity":"sha512-pmJKwqTAdGqkimyHVzJZRRk62wlTkMZ+NGEhUNqIisq7w0p9JZ5h/2EnuThuiJ5gdbBAo5crQqSdeRerUu/3iA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGMLnaxp0TIqbX2sC4dID5weK9To0UBCBMWEGAuy9h+pAiEAwsIF9j/et+NxeW2AUhs7Yvyk+pEblI7MGR4+5M6fWeg="}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}]},"1.1.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.1.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"ceaaf5ceda8b3811f80149b8fa5937c042b81b8f","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.1.1","_shasum":"0fd891e7ba6778b81ede47f889ce03c5a66dc089","_from":".","_npmVersion":"2.14.2","_nodeVersion":"3.0.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"0fd891e7ba6778b81ede47f889ce03c5a66dc089","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-1.1.1.tgz","integrity":"sha512-bZ3JsRTQxdj+Pic71VWbl/2hXb3IhzW1EdQ3Bnnm49kc6jL49brokbv+dkBgEt0iumlwvcCeZy/IwOH0AtoFIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHe5VDRVyNYnOHiaaSRq/7awbMd6B2sBAkDGM+xIC0PhAiAGiRDDOHlvfVcwewxyiOxcEtmER/rPAnJdl2Ab5ZBGaQ=="}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}]},"1.2.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.2.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"4fc2b4c7b6a152213fb81c869ad6a0fe04315fe0","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.2.0","_shasum":"ea40397726b254f4ba1938e8f82be6d0df9adff2","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"ea40397726b254f4ba1938e8f82be6d0df9adff2","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-1.2.0.tgz","integrity":"sha512-c9771LbohdV8TvTx6chhBf1zUqHzk268Yl1MlcyPVaX3gdseUoAOzaJ5UkyB+OE9yrJyBewgYNw3bvJ43yDz2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICytYtc3VbpdmLYTuZIS1mzxdMnK/nvefBZkAfId6X/PAiEA2p3gt8T5BV7xJ4mqAiv7iVUk1FhDiegAKtAB5lP4KQk="}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}]},"1.2.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.2.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"1232cb4d78b1b9eb71a5944fa05d1c2f1b504499","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.2.1","_shasum":"6cb9a73d96f3c661f53a16a909d01902d26e92c8","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"6cb9a73d96f3c661f53a16a909d01902d26e92c8","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-1.2.1.tgz","integrity":"sha512-78hRWQ1I8RcbGwQfFsVKapGKvy3BPpjdXNAlmdot/7pul1ln8OZFNXSUQ4pZzAZVRjumEzJdRl1WZuEkvAj1ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE5Cjy2JnE9ufruKnQgIwWMtG14sNLJ4M26c2KWp/W6iAiB4/VKlLwl8azGzJtahnmKgJcvNdNncKDXP0fv8shFxBQ=="}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}]},"1.3.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.3.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"04391e8d69c0a28092dd1f2d698e73bf010b986d","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.3.0","_shasum":"fa991c9b13e3ba34fa0a0fe4c3f567da84882eb0","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"fa991c9b13e3ba34fa0a0fe4c3f567da84882eb0","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-1.3.0.tgz","integrity":"sha512-mG1/0etVLmYTQSWrD6N8/ISvqWFAytW6BM76qPbCbXVyxPxcOnkYtu9fIvB1GQILgnoXb0Jwn/9CBFYCD9olog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChtaIP3VUmwv8bEtksBjfs4gUC5pwBv/2zzNPB8kKsjQIhAMPI3ralSZiDHFF9NSiO2pZtCqq49GCJ3hy7xXBU994h"}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}]},"2.0.0":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.0.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"b1e032376186de8458f3af3197e5212a689a2c03","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.0.0","_shasum":"87295be139bd9843d96ace1c7c3d2267437ce854","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"87295be139bd9843d96ace1c7c3d2267437ce854","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-2.0.0.tgz","integrity":"sha512-yCg1XsZ6DFv/3LcewpzfJZ4VkDaGs+jz6qMkDFhgFVawJjZqZd/xjLP+2MEqfnaMKflyO19IkLvulcVPlGucBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICp5c4lQ6nNw9RguC+g66asbwPSgd7qDSQN9Aw4GcWjhAiBMxd0CweLMFS6/pK7HBfq82fQbRbPEvxRzrwdedaqtHg=="}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-2.0.0.tgz_1455782840387_0.279526341939345"}},"2.0.1":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.0.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"f645471008b145405e61a5234a1c9221b6d0feb8","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.0.1","_shasum":"03564481ee64ed050a5ab304df1e05f5cab71f4f","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"03564481ee64ed050a5ab304df1e05f5cab71f4f","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-2.0.1.tgz","integrity":"sha512-5edf6Lv/O+6vQ6tSnddlQ2+lclwENGHbnxrZ1YX7ngCIEBERZWNK5OtyywZ+R1UF0LZ4rvwDuY/yVBztBk3Bpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7a3EIlEX9FN9XRNaxfefNCA1bleV26bSjH6XDvqB1qAiB5lM6qh4KumGBspe525dLMxMy/zufDY3uBVRoMQafI0Q=="}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-2.0.1.tgz_1459211223235_0.1171520515345037"}},"1.3.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.3.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"5e2449728874e4203afce290dfcf2378cd447b10","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.3.1","_shasum":"586538c8d71fa8de90c41a46acc0481c1fb83e18","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"586538c8d71fa8de90c41a46acc0481c1fb83e18","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-1.3.1.tgz","integrity":"sha512-Jz/3d3WnZw3A5kygxiRsPkNpSK8p5ki20oCjtLlVq8SZAaXKisbH/HOCeuK8lkSJf4hHEoPZkzU/5yxVuf1AIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAQlk1+drGnHpvIZnzWAO2l0MglLZKlz22Z9NqeBoCg7AiEAt/AQPFqXFOnk6y+0tuL1UcSvL/m5z+IRxxeP7TBKFjQ="}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-1.3.1.tgz_1462207823837_0.7598905295599252"}},"2.1.0":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.1.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"b1e16ca5e1ab25cc4912db087f4d20bc834a50f4","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.1.0","_shasum":"4fcb63c4663214ece2731adba739ea298409b9a8","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"4fcb63c4663214ece2731adba739ea298409b9a8","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-2.1.0.tgz","integrity":"sha512-5xRSzZ0/idK2paM9I7PfjaGBCdXGTxIuxe57QDze776jIXcPmAnDygBoojCzHxeMKS4XABwR+ecHVf/bojMMPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSRS5QTwBOrT/6VZM4/9ClAOJjuzwQ0N5vYUDUiitTOgIhAP9GV1L59m9/k12Bm2HIC3NsBBS1VKbXcnqbj1z0hFUD"}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-2.1.0.tgz_1479757021381_0.06043549673631787"}},"2.1.1":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.1.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"b1e16ca5e1ab25cc4912db087f4d20bc834a50f4","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.1.1","_shasum":"83b1400b437209e0c710f0a17a0485a155179fe2","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"83b1400b437209e0c710f0a17a0485a155179fe2","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-2.1.1.tgz","integrity":"sha512-TGjie88QZFrkiIvy47fA2MUTG+sXt3MjuQ8rNfF3woYt4aDrj8qqa8XqGBKK9zueUcv+ytc5pS4hCXYfQN4vAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkYfmbs0C1pH+eNmh0k8IsrxSIK/rZVfpvJaTCHW3fqAIgTdoxtJJpOMUNMH8qPeVNYdtOZV93wPDkVTXgxEiOT6c="}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-2.1.1.tgz_1481750893846_0.33738727774471045"}},"2.1.2":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.1.2","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"a45a21c59ee70ece0b4027d4d1da924aedfc151a","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.1.2","_shasum":"86ccc00daf4eb7013745aaec2f54997bd6b24bbd","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"86ccc00daf4eb7013745aaec2f54997bd6b24bbd","tarball":"https://registry.npmjs.org/mocha-phantomjs-core/-/mocha-phantomjs-core-2.1.2.tgz","integrity":"sha512-8n0UoVUWDd39qgGmfrvGgXV2A0dlYTJ15m+QIJp1vIL7elQb/+PwgOEFoCTFURiAfDOZSDyrb4o6BY9PhKGuAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDt+TvHW1z3h+CTYfCOeTz4PUOEd2XHPRuNb2RqQg3aKAIhANHomBINmkv2A59VqfjnoQOzTJgFiZOX7k3BVDjd+7vu"}]},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mocha-phantomjs-core-2.1.2.tgz_1500672552821_0.10541916312649846"}}},"readme":"# Run client-side Mocha tests in PhantomJS or SlimerJS\n\n[![Join the chat at https://gitter.im/nathanboktae/mocha-phantomjs-core](https://badges.gitter.im/nathanboktae/mocha-phantomjs-core.svg)](https://gitter.im/nathanboktae/mocha-phantomjs-core?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\n[![Build Status](https://secure.travis-ci.org/nathanboktae/mocha-phantomjs-core.png)](http://travis-ci.org/nathanboktae/mocha-phantomjs-core)\n\nSo now that you got your tests [Mocha](http://mochajs.org/) running on a simple flat HTML file, now how do you run them in your CI environment? [Karma](http://karma-runner.github.io/)? what is this `karma.conf.js` file I have to write? and some background runner task? how do I grep over just a few tests? wait I need a to also install a launcher for phantomjs or slimerjs too? bleck.\n\nRather than force you to redo your test harness and local development testing, simply run `phantomjs mocha-phantomjs-core.js spec tests/mytests.html` and be done with it. `mocha-phantomjs-core` builds on top of what you already have, with no high barrier to entry like Karma.\n\nNew in 2.0 is [SlimerJS](https://slimerjs.org) support! There are [some bugs](https://github.com/laurentj/slimerjs/issues/created_by/nathanboktae) still to be worked out, but now you can run your tests headless on the latest firefox version instead of an old QtWebKit!\n\n## Installation\n\n```\nnpm install mocha-phantomjs-core\n```\n\n## Usage\n\n```\n<phantomjs|slimerjs> mocha-phantomjs-core.js <TESTS> <REPORTER> <CONFIG as JSON>\n\nExamples:\nphantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js tests.html\nphantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js tests/runner.html xunit > results.xml\n/usr/local/bin/phantomjs /path/to/mocha-phantomjs-core.js tests.html spec \"{\\\"useColors\\\":true}\"\n```\n\nDue to resource loading timing issues with external sources, you may need to call `initMochaPhantomJS` before calling any mocha setup functions like `setup()`, `ui()`, etc. `mocha-phantomjs-core` will notify you if you need this, and if so, add a check for it before your mocha setup code:\n\n```\nif (typeof initMochaPhantomJS === 'function') {\n  initMochaPhantomJS()\n}\n```\n\nThis can be avoided by removing unnessecary external resources like fonts, CSS, etc. from your tests, or simply having `mocha.js` as the first script loaded.\n\n### Config\n\nIt's best to always refer to [the tests](https://github.com/nathanboktae/mocha-phantomjs-core/blob/master/test/core.tests.coffee) for full usage and examples.\n\n#### `reporter`\n\nOne of mocha's built in reporters, or a full path to a file for a 3rd party reporter (see below on how to write one).\n\n#### `grep`\n\na string to pass to `mocha.grep()` to filter tests. also provide `invert: true` if you want to invert the grep and filter out tests.\n\n#### `useColors`\n\nBoolean. Force or suppress color usage. Defaults to what your terminal supports.\n\n#### `bail`\n\nBoolean. Stop the test run at the first failure if true. Defaults to false.\n\n#### `ignoreResourceErrors`\n\nBoolean. Suppress the resource failure output that `mocha-phantomjs-core` will output by default.\n\n#### `loadTimeout`\n\nTime in milliseconds after the page loads that `mocha.run` needs to be called. Defaults to 10 seconds. \n\n#### `timeout`\n\nSets mocha's root suite timeout. Defers to mocha's default if omitted. \n\n#### `viewportSize`\n\nSets the viewport size. Specify `height` and `width`, like below:\n\n#### `settings`\n\nIf you need to pass [additional settings](https://github.com/ariya/phantomjs/wiki/API-Reference-WebPage#webpage-settings) to the phantomjs webpage, you can specify an object of settings here, including common ones like `userAgent` and `loadImages`.\n\n```\nphantomjs mocha-phantomjs-core.js dot tests/mytests.html \"{\\\"viewportSize\\\":{\\\"width\\\":720,\\\"height\\\":480}}\"\n```\n\nPreviously `mocha-phantomjs` required you to look for `mochaPhantomJS` and then use `mochaPhantomJS.run()`. That is no longer required. Call `mocha.run()` as you normally would.\n\n## Screenshots\n\n`mocha-phantomjs-core` supports creating screenshots from your test code. For example, you could write a function like below into your test code.\n\n```javascript\nfunction takeScreenshot() {\n  if (window.callPhantom) {\n    var date = new Date()\n    var filename = \"screenshots/\" + date.getTime()\n    console.log(\"Taking screenshot \" + filename)\n    callPhantom({'screenshot': filename})\n  }\n}\n```\n\nIf you want to generate a screenshot for each test failure you could add the following into your test code.\n\n```javascript\n  afterEach(function () {\n    if (this.currentTest.state == 'failed') {\n      takeScreenshot()\n    }\n  })\n```\n\n## Send event\n\n`mocha-phantomjs-core` supports [sending events](http://phantomjs.org/api/webpage/method/send-event.html)\nfrom your test code to allow for more ouside testing. For example, to trigger an external `click` event:\n\n```javascript\nif (window.callPhantom) {\n  window.callPhantom({\n    sendEvent: ['click', 10, 10] // array of arguments\n  });\n}\n```\n\n## Changing `viewportSize`\n\n`mocha-phantomjs-core` now also supports changing of viewportSize (the simulated `window` size for the headless browser) - while running tests.\n\n```javascript\nif (window.callPhantom) {\n  window.callPhantom({\n    viewportSize : {\n      width : 100,\n      height : 100\n    }\n  });\n}\n```\n\nThis comes on particlarly handy when testing for responsiveness.\n\n## Environment variables\n\n`mocha-phantomjs-core` will expose environment variables at `mocha.env`\n\n## Third Party Reporters\n\nMocha has support for custom [3rd party reporters](https://github.com/mochajs/mocha/wiki/Third-party-reporters), and mocha-phantomjs does support 3rd party reporters, but keep in mind - *the reporter does not run in Node.js, but in the browser, and node modules can't be required.* You need to only use basic, vanilla JavaScript when using third party reporters. However, some things are available:\n\n- `require`: You can only require other reporters, like `require('./base')` to build off of the BaseReporter\n- `exports`, `module`: Export your reporter class as normal\n- `process`: use `process.stdout.write` preferrably to support the `--file` option over `console.log` (see #114)\n\nAlso, no compilers are supported currently, so please provide plain ECMAScript 5 for your reporters.\n\n## Testing\n\n```\nnpm install\nnpm test\n```\n\nTravis CI does a matrix build against phantomjs 1.9.7 and 2.0.0, currently. See `.travis.yml` for the latest.\n\nTo debug an individual test, since they are just process forks, you may want to run them directly, like\n\n```\nphantomjs mocha-phantomjs-core.js test/timeout.html spec \"{\\\"timeout\\\":500}\"\n```\n\n## License\n\nReleased under the MIT license. Copyright (c) 2015 Ken Collins and Nathan Black.\n\n","maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"time":{"modified":"2022-06-20T01:37:03.486Z","created":"2015-04-14T04:42:31.645Z","0.0.1":"2015-04-14T04:42:31.645Z","0.1.0":"2015-05-05T06:02:13.044Z","0.2.0":"2015-05-14T06:08:10.731Z","0.2.1":"2015-07-03T16:50:57.276Z","1.0.0":"2015-07-16T16:29:40.608Z","1.0.1":"2015-07-23T06:38:10.858Z","1.1.0":"2015-09-21T05:57:56.015Z","1.1.1":"2015-09-27T15:06:23.739Z","1.2.0":"2015-10-18T00:52:34.729Z","1.2.1":"2015-10-24T04:16:10.454Z","1.3.0":"2015-11-06T08:18:10.845Z","2.0.0":"2016-02-18T08:07:22.829Z","2.0.1":"2016-03-29T00:27:03.637Z","1.3.1":"2016-05-02T16:50:26.086Z","2.1.0":"2016-11-21T19:37:01.741Z","2.1.1":"2016-12-14T21:28:15.771Z","2.1.2":"2017-07-21T21:29:12.960Z"},"homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"readmeFilename":"README.md","users":{"flozz":true,"rbultitude":true}}