You've already forked node-redis
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:
@@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user