Skip to content

Commit 629b26e

Browse files
author
Ruben Bridgewater
committed
Add test
1 parent 592e3eb commit 629b26e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ describe('redis-commands', function () {
1515
});
1616
});
1717

18+
it('should ensure quit command is added to the commands list', function () {
19+
expect(commands.list.indexOf('quit')).not.to.eql(-1);
20+
});
21+
1822
it('should not contain multi-word commands', function () {
1923
commands.list.forEach(function (command) {
2024
expect(command.indexOf(' ')).to.eql(-1);

0 commit comments

Comments
 (0)