diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2014-12-17 05:37:19 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2014-12-17 05:37:19 +0300 |
commit | d0436e41e72780d001048079bf265c08ecb1fd53 (patch) | |
tree | db067ca3d6f730fefb906c86ad52cf3a706aa4be /test/basic.js | |
parent | 6cab794d4df6f3aa6d30d419b3acff6e9ce89f73 (diff) |
remove hack from tests
Diffstat (limited to 'test/basic.js')
-rw-r--r-- | test/basic.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/basic.js b/test/basic.js index 912c4b0..5de4f67 100644 --- a/test/basic.js +++ b/test/basic.js @@ -52,13 +52,7 @@ test('client.seed (Buffer, Blob)', function (t) { // Blob if (typeof Blob !== 'undefined') { var client2 = new WebTorrent({ dht: false, tracker: false }) - var blob = new Blob([ leavesBook ]) - - // TODO: just pass name in the opts object – this should work - // Doing it this way until we use the create-torrent code to process inputs - // in client.seed - blob.name = opts.name - client2.seed(blob, function (torrent) { + client2.seed(new Blob([ leavesBook ]), opts, function (torrent) { verify(t, client2, torrent) }) } else { |