-
Notifications
You must be signed in to change notification settings - Fork 3
/
default.js
53 lines (53 loc) · 1.32 KB
/
default.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//var tap = require('tap');
//var app = require('./index.js');
//
//var options = {
// query: "blade runner",
// page: 1,
// keyword: "video",
// socks: {port: undefined, host: undefined}
//}
//
//tap.test('App loads', function(t) {
// t.doesNotThrow(load_app, 'No problem loading the app.js file')
// t.end()
//
// function f() {
// process.exit(0)
// }
// setTimeout(f, 15000)
//
// function load_app() {
//
//// tap.test('Test TPB', function(t) {
//// app.pbay(options, function(result) {
//// t.type((result.title[3]), 'string', 'PASS');
//// t.end();
//// });
//// });
//// tap.test('Test BTDIGG', function(t) {
//// app.btdigg(options, function(result) {
//// t.type((result.title[3]), 'string', 'PASS');
//// t.end();
//// });
//// });
//// tap.test('Test OLDPB', function(t) {
//// tArr = app.oldpbay(options, function(result) {
//// t.type((result.title[3]), 'string', 'PASS');
//// t.end();
//// });
//// });
//// tap.test('Test FEELINGLUCKY', function(t) {
//// app.feelingLucky(options, function(result) {
//// t.type((result.title[0]), 'string', 'PASS');
//// t.end();
//// });
//// });
//// tap.test('Test TORHOUND', function(t) {
//// app.torhound(options, function(result) {
//// t.type((result.title[3]), 'string', 'PASS');
//// t.end();
//// });
//// });
// }
//});