Skip to content

Commit d1994ab

Browse files
committed
removing not implemented tests
1 parent 35b60b3 commit d1994ab

2 files changed

Lines changed: 28 additions & 27 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
"main": "index.js",
5757
"scripts": {
5858
"start": "node bin/ldnode.js",
59-
"test": "DEBUG='ldnode:*' ./node_modules/mocha/bin/mocha ./test/*.js",
59+
"test": "./node_modules/mocha/bin/mocha ./test/*.js",
60+
"test-debug": "DEBUG='ldnode:*' ./node_modules/mocha/bin/mocha ./test/*.js",
6061
"test-acl": "./node_modules/mocha/bin/mocha ./test/secure-test.js",
6162
"test-params": "./node_modules/mocha/bin/mocha ./test/params.js",
6263
"test-http": "./node_modules/mocha/bin/mocha ./test/test.js"

test/params.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@ describe('params', function () {
66

77
describe('uri', function () {
88

9-
describe('not passed', function () {
10-
11-
var ldp = ldnode.createServer({
12-
base: __dirname
13-
});
14-
ldp.listen(3456);
15-
16-
it('should be the proxy value if exist', function (done) {
17-
done();
18-
})
19-
20-
it('should be localhost if no proxy', function (done) {
21-
done();
22-
})
23-
})
24-
25-
describe('passed', function() {
26-
var ldp = ldnode.createServer({
27-
uri: 'http://example.com',
28-
base: __dirname
29-
});
30-
ldp.listen(3456);
31-
it ('should not use proxy', function (done) {
32-
done();
33-
})
34-
})
9+
// describe('not passed', function () {
10+
11+
// var ldp = ldnode.createServer({
12+
// base: __dirname
13+
// });
14+
// ldp.listen(3456);
15+
16+
// it('should be the proxy value if exist', function (done) {
17+
// done();
18+
// })
19+
20+
// it('should be localhost if no proxy', function (done) {
21+
// done();
22+
// })
23+
// })
24+
25+
// describe('passed', function() {
26+
// var ldp = ldnode.createServer({
27+
// uri: 'http://example.com',
28+
// base: __dirname
29+
// });
30+
// ldp.listen(3456);
31+
// it ('should not use proxy', function (done) {
32+
// done();
33+
// })
34+
// })
3535
})
3636

3737
describe('base', function () {

0 commit comments

Comments
 (0)