Skip to content

Commit

Permalink
build(test): initialized test flow
Browse files Browse the repository at this point in the history
  • Loading branch information
fenying committed Apr 30, 2024
1 parent aee7f46 commit 3e8fd06
Show file tree
Hide file tree
Showing 10 changed files with 519 additions and 326 deletions.
6 changes: 5 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/commitlint.config.js
/commitlint.config.js
/src/test/
/test/
/lib/
/examples/
81 changes: 80 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,82 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"cSpell.words": [
"ABSTTL",
"BLPOP",
"BRPOP",
"BRPOPLPUSH",
"DECRBY",
"EVALSHA",
"EXAT",
"EXPIREAT",
"FLUSHALL",
"getdel",
"getex",
"GETSET",
"HDEL",
"HEXISTS",
"HGET",
"HGETALL",
"HINCRBY",
"HINCRBYFLOAT",
"HKEYS",
"HLEN",
"HMGET",
"HMSET",
"HRANDFIELD",
"HRANDFILED",
"HSCAN",
"HSET",
"HSETNX",
"HSTRLEN",
"HVALS",
"INCRBY",
"INCRBYFLOAT",
"LINDEX",
"LINSERT",
"LLEN",
"LPOP",
"LPUSH",
"LPUSHX",
"LRANGE",
"LREM",
"LSET",
"LTRIM",
"MSETNX",
"NUMPAT",
"NUMSUB",
"PEXPIRE",
"PEXPIREAT",
"PFADD",
"PFCOUNT",
"PFMERGE",
"PTTL",
"PXAT",
"RANDOMKEY",
"RENAMENX",
"RPOP",
"RPOPLPUSH",
"RPUSH",
"RPUSHX",
"SADD",
"SCARD",
"SDIFF",
"SDIFFSTORE",
"SINTERSTORE",
"SISMEMBER",
"SMEMBERS",
"SMOVE",
"SPOP",
"SRANDMEMBER",
"SREM",
"SSCAN",
"SUNION",
"SUNIONSTORE",
"SWAPDB",
"Vals",
"WITHVALUES",
"ZADD",
"ZRANGE",
"ZREM"
]
}
9 changes: 8 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Changes Logs

## v3.0.2

- fix(command): Incorrect preprocessing of arguments for `SREM` command.
- feat(command): Added basic supports for `ZADD`, `ZREM`, `ZRANGE` commands.
- fix(docs): Fixed the links to the command documents.
- build(test): Initialized test flows.

## v3.0.1

fix(docs): fixed comments.
- fix(docs): fixed comments.

## v3.0.0

Expand Down
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
'subscriber',
'protocol',
'lint',
'test',
'docs',
'deps',
'project'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"typecheck": "tsc -p tsconfig.json --noEmit",
"clean": "rm -rf lib examples test",
"lint": "eslint --ext ts src",
"test": "echo No tests yet."
"test": "node --test test/commands/*.js"
},
"keywords": [
"litert",
Expand Down
Loading

0 comments on commit 3e8fd06

Please sign in to comment.