1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

Fix some tests and deactivate broken ones

This commit is contained in:
Ruben Bridgewater
2015-09-01 21:47:15 +02:00
parent ba779ac361
commit 1ae280dcec
6 changed files with 14 additions and 93 deletions

View File

@@ -76,15 +76,6 @@ describe("The 'set' method", function () {
});
});
});
describe("with undefined 'key' and defined 'value' parameters", function () {
it("reports an error", function () {
client.set(undefined, value, function (err, res) {
helper.isError()(err, null);
done();
});
});
});
});
describe("and no callback is specified", function () {
@@ -132,19 +123,6 @@ describe("The 'set' method", function () {
}, 100);
});
});
describe("with undefined 'key' and defined 'value' parameters", function () {
it("throws an error", function () {
var mochaListener = helper.removeMochaListener();
process.once('uncaughtException', function (err) {
process.on('uncaughtException', mochaListener);
helper.isError()(err, null);
});
client.set(undefined, value);
});
});
});
});
});