Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test/node
AgeCommit message (Collapse)Author
2016-09-17Test option to disable web seedsDC
2016-08-21replace 'hat' with 'randombytes'Feross Aboukhadijeh
2016-07-23test: make more reliable with onceFeross Aboukhadijeh
Okay, so this was a timing thing. Basically now noPeers is getting emitted twice because the tracker gets sent a 'started' then a 'completed' message and both times there are no peers in the response. I changed the .on('noPeers') to .once('noPeers') so this will be more reliable. https://github.com/feross/webtorrent/pull/871#discussion_r71963946
2016-07-22Make downloading tests work on memory store to ensure the sore is empty.Yoann Ciabaud
Corrected webseed test to follow fixtures and tracker magnet.
2016-05-30Use safe-bufferFeross Aboukhadijeh
Use the new Buffer APIs from Node v6 for added security. For example, Buffer.from() will throw if passed a number, unlike Buffer() which allocated UNINITIALIZED memory. Use the safe-buffer package for compatibility with previous versions of Node.js, including v4.x, v0.12, and v0.10. https://github.com/feross/safe-buffer
2016-05-23fix tests on appveyorFeross Aboukhadijeh
2016-05-20add more metadata testsFeross Aboukhadijeh
- test multiple &xs= params in magnet link - test param that 404s
2016-05-19Fixes for PR #799Feross Aboukhadijeh
- Support multiple &xs= params in parallel - Fail on 'error' 'warning' events
2016-05-17Implement exact source (xs) for magnet URIsSebastian Mayr
2016-04-27Update 'noPeers' to stop using deprecated 'torrent.swarm'Jonathan Harper
2016-04-27Torrent emits 'noPeers' even when swarm is empty after announceJonathan Harper
2016-04-21set dhtPort to correct port after listeningFeross Aboukhadijeh
2016-04-21BREAKING: Major cleanupFeross Aboukhadijeh
### Added - `client.listening` property to signal whether TCP server is listening for incoming connections. ### Changed - Merged `Swarm` class into `Torrent` object. Properties on `torrent.swarm` (like `torrent.swarm.wires`) now exist on `torrent` (e.g. `torrent.wires`). - `torrent.addPeer` can no longer be called before the `infoHash` event has been emitted. - Remove `torrent.on('listening')` event. Use `client.on('listening')` instead. - Remove support from `TCPPool` for listening on multiple ports. This was not used by WebTorrent and just added complexity. There is now a single `TCPPool` instance for the whole WebTorrent client. - Deprecate: Do not use `client.download()` anymore. Use `client.add()` instead. - Deprecate: Do not use `torrent.swarm` anymore. Use `torrent` instead. ### Fixed - When there is a `torrent.on('error')` listener, don't also emit `client.on('error')`. - Do not return existing torrent object when duplicate torrent is added. Fire an `'error'` event instead. - Memory leak of `Torrent` object caused by `RarityMap` - Memory leak of `Torrent` object caused by `TCPPool` - `client.ratio` and `torrent.ratio` are now calculated as `uploaded / received` instead of `uploaded / downloaded`.
2016-03-29fix swarm testFeross Aboukhadijeh
2016-03-29Remove `portfinder` dependencyFeross Aboukhadijeh
2016-03-29Deprecate bittorrent-swarm, inline into webtorrentFeross Aboukhadijeh
bittorrent-swarm and the Torrent object in webtorrent are very coupled. It doesn't make much sense to publish them separately, as bittorrent-swarm can't be used independently.
2016-03-11BREAKING: Move command line to new package: webtorrent-cliFeross Aboukhadijeh
2016-02-28use webtorrent-fixturesFeross Aboukhadijeh
2016-02-22test: add successive sync client.add, client.remove, client.add, client.removeFeross Aboukhadijeh
2016-02-19BREAKING: don't emit 'peer' event for invalid peersFeross Aboukhadijeh
2016-02-14changes for simple-get 2.0.0Feross Aboukhadijeh
2016-02-10test styleFeross Aboukhadijeh
2016-02-10test: move node-only test to test/nodeFeross Aboukhadijeh
2016-01-11simplifyFeross Aboukhadijeh
2016-01-11test: more accurate nameFeross Aboukhadijeh
2016-01-11test: download multiple files at same timeFeross Aboukhadijeh
Fixes #125
2016-01-11test: fix testFeross Aboukhadijeh
2016-01-11tests: cleanupFeross Aboukhadijeh
2016-01-11support calling torrent.load() before 'ready' eventFeross Aboukhadijeh
2016-01-11remove old TODOsFeross Aboukhadijeh
2016-01-08test: blocklist-dht waitFeross Aboukhadijeh
wait for both conditions before going on
2016-01-06remove host option from testFeross Aboukhadijeh
2016-01-06fix tests for bittorrent-dht 6Feross Aboukhadijeh
2016-01-06test styleFeross Aboukhadijeh
2016-01-02New API: WebTorrent.WEBRTC_SUPPORTFeross Aboukhadijeh
Detect native WebRTC support in the environment. ```js if (WebTorrent.WEBRTC_SUPPORT) { // webrtc support! } else { // fallback } ```
2016-01-01test: client.add: invalid torrent id: invalid filesystem pathFeross Aboukhadijeh
2015-12-30Add more browser testsFeross Aboukhadijeh
Run more of the tests in the browser. There's now a test/node and test/browser folder for tests that are specific to each environment. Anything in test/ will be run in both environments.