Skip to content

Commit 3e8fd06

Browse files
committed
build(test): initialized test flow
1 parent aee7f46 commit 3e8fd06

File tree

10 files changed

+519
-326
lines changed

10 files changed

+519
-326
lines changed

.eslintignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
/commitlint.config.js
1+
/commitlint.config.js
2+
/src/test/
3+
/test/
4+
/lib/
5+
/examples/

.vscode/settings.json

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,82 @@
11
{
2-
"typescript.tsdk": "node_modules/typescript/lib"
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"cSpell.words": [
4+
"ABSTTL",
5+
"BLPOP",
6+
"BRPOP",
7+
"BRPOPLPUSH",
8+
"DECRBY",
9+
"EVALSHA",
10+
"EXAT",
11+
"EXPIREAT",
12+
"FLUSHALL",
13+
"getdel",
14+
"getex",
15+
"GETSET",
16+
"HDEL",
17+
"HEXISTS",
18+
"HGET",
19+
"HGETALL",
20+
"HINCRBY",
21+
"HINCRBYFLOAT",
22+
"HKEYS",
23+
"HLEN",
24+
"HMGET",
25+
"HMSET",
26+
"HRANDFIELD",
27+
"HRANDFILED",
28+
"HSCAN",
29+
"HSET",
30+
"HSETNX",
31+
"HSTRLEN",
32+
"HVALS",
33+
"INCRBY",
34+
"INCRBYFLOAT",
35+
"LINDEX",
36+
"LINSERT",
37+
"LLEN",
38+
"LPOP",
39+
"LPUSH",
40+
"LPUSHX",
41+
"LRANGE",
42+
"LREM",
43+
"LSET",
44+
"LTRIM",
45+
"MSETNX",
46+
"NUMPAT",
47+
"NUMSUB",
48+
"PEXPIRE",
49+
"PEXPIREAT",
50+
"PFADD",
51+
"PFCOUNT",
52+
"PFMERGE",
53+
"PTTL",
54+
"PXAT",
55+
"RANDOMKEY",
56+
"RENAMENX",
57+
"RPOP",
58+
"RPOPLPUSH",
59+
"RPUSH",
60+
"RPUSHX",
61+
"SADD",
62+
"SCARD",
63+
"SDIFF",
64+
"SDIFFSTORE",
65+
"SINTERSTORE",
66+
"SISMEMBER",
67+
"SMEMBERS",
68+
"SMOVE",
69+
"SPOP",
70+
"SRANDMEMBER",
71+
"SREM",
72+
"SSCAN",
73+
"SUNION",
74+
"SUNIONSTORE",
75+
"SWAPDB",
76+
"Vals",
77+
"WITHVALUES",
78+
"ZADD",
79+
"ZRANGE",
80+
"ZREM"
81+
]
382
}

CHANGES.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# Changes Logs
22

3+
## v3.0.2
4+
5+
- fix(command): Incorrect preprocessing of arguments for `SREM` command.
6+
- feat(command): Added basic supports for `ZADD`, `ZREM`, `ZRANGE` commands.
7+
- fix(docs): Fixed the links to the command documents.
8+
- build(test): Initialized test flows.
9+
310
## v3.0.1
411

5-
fix(docs): fixed comments.
12+
- fix(docs): fixed comments.
613

714
## v3.0.0
815

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module.exports = {
1515
'subscriber',
1616
'protocol',
1717
'lint',
18+
'test',
1819
'docs',
1920
'deps',
2021
'project'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"typecheck": "tsc -p tsconfig.json --noEmit",
1212
"clean": "rm -rf lib examples test",
1313
"lint": "eslint --ext ts src",
14-
"test": "echo No tests yet."
14+
"test": "node --test test/commands/*.js"
1515
},
1616
"keywords": [
1717
"litert",

0 commit comments

Comments
 (0)