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

27 Commits

Author SHA1 Message Date
2b4ab10305 chore - remove standard and use individual config
Standard is not as up to date and still uses a old eslint version.
Instead, use the airbnb default with a couple of modifications.

All required changes are included.
2017-11-28 21:38:21 -02:00
b6c317dbb0 chore: improve coverage 2017-05-30 06:45:28 +02:00
b2e18344d9 chore: mark private variables as such and remove obsolete ones 2017-05-28 07:15:20 +02:00
4d103b4aee chore: update dependencies 2017-05-26 10:27:17 +02:00
6be5575c5b chore: refactor codebase to promises 2017-05-19 06:14:29 +02:00
b2613b2270 test fixup 2017-05-06 08:16:19 +02:00
f1a7bcd735 chore: use standard 2017-05-06 07:06:52 +02:00
78187142cb Remove deprecated parser option 2017-05-06 01:49:04 +02:00
ce1678c778 Improve coverage; make tests ready for Redis 3.2
Add command sanity check
2016-04-29 04:10:23 +02:00
97ae78877b Implement CLIENT REPLY ON|OFF|SKIP 2016-04-29 04:10:23 +02:00
94e9f1fcfc Replace jshint with eslint and add lots of rules
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
ff19663d9d Remove code overhead
Add another domain test

Fix test on node 0.10
2016-03-15 03:56:36 +01:00
0207163655 Remove support of redis 2.4
All tests require at least redis 2.6 from now on. Anyone who wants to run the tests should be able to install a newer version.
2015-11-30 13:31:26 +01:00
918882f0bf Hotfix 2015-11-23 14:38:33 +01:00
9ca2d1ddaa Fix test on appveyor
Somehow the calls do not seem to be handled sync on appveyor in this test
2015-11-23 14:38:10 +01:00
f82fb6cf42 Explicitly install hiredis on appveyor and only use start / end clients if needed 2015-11-23 13:22:07 +01:00
8bf794fb36 Stricten tests by always ending redis with .end(true) if possible 2015-11-22 16:56:54 +01:00
afcd760b18 Fix a test and add some more 2015-09-30 02:04:56 +02:00
f543d45d1f Fix and add more tests 2015-09-19 17:48:25 +02:00
c522ca1264 Fix inconsistent command argument handling
Earlier multi.command and client.command diverged a lot in the way they accepted arguments. This is now consistent
This will also fix some bugs like using multi.hmset with arrays
2015-09-15 04:00:02 +02:00
0b46a69c7e fix merge, run linting as part of the test suite 2015-09-12 18:44:01 -07:00
a0bf9e2314 tweaks based on running test-suite on Windows on an older Redis 2015-09-12 18:29:50 -07:00
4c6b84315e Tiny speedup by removing command.toLowerCase()
This is not necessary as the command itself is only used from inside the code and as they are (now) all lower case it is safe to remove the toLowerCase
2015-09-12 19:17:02 +02:00
9acbd6c860 Add simicolons and remove trailing whitespace 2015-09-12 18:56:49 +02:00
06c5f1922b Add jshint and fix errors accordingly (including broken tests) 2015-09-12 18:56:49 +02:00
a5938f3ade Refactor the test suite and remove duplicated code 2015-09-01 23:28:41 +02:00
a0832c3744 slight refactor from code review
smoke test large list of commands

ported more tests to mocha, some slight cleanup in tests

move sinon and uuid to dev dependencies

finished porting eval tests over to mocha

rebased mocha testing branch with master

ported client and script tests

ported watch tests

ported detect_buffers tests

ported unref tests

ported auth tests over to mocha

ported idle and no_delay tests

ported hlen, hset

continuing marching forward

ported hincrby, sinter, sort, pubsub tests. improved logic in redis-process, I was still occasionally having issues where redis failed to exit.

switch back to default test command

ported del, exists, hlen, keys, randomkey, type

cleanup based on what I've learned so far from refactor. we now start and stop redis less often. moved tests to their final resting place

finished porting node_redis client tests

ported hgetall, mget, msetnx, rename, renamenx, setex, setnx

ported hgetall, mget, msetnx, rename, renamenx, setex, setnx

ported queue tests to mocha

amalgamated some of the helper logic

ported sadd, scard, sismember, srem, utf-8
2015-08-14 21:31:18 -07:00