Skip to content

Commit

Permalink
tests to unset ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
pasupulaphani committed May 25, 2020
1 parent 1abcbe6 commit 708a426
Show file tree
Hide file tree
Showing 18 changed files with 200 additions and 91 deletions.
2 changes: 1 addition & 1 deletion docs/assets/js/search.json
@@ -1 +1 @@
{"kinds":{"1":"Module","32":"Variable","64":"Function","65536":"Type literal","16777216":"Reference"},"rows":[{"id":0,"kind":16777216,"name":"createLogger","url":"modules/_helpers_index_.html#createlogger","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"\"helpers/index\""},{"id":1,"kind":16777216,"name":"Logger","url":"modules/_helpers_index_.html#logger","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"\"helpers/index\""},{"id":2,"kind":16777216,"name":"genRandomStr","url":"modules/_helpers_index_.html#genrandomstr","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"\"helpers/index\""},{"id":3,"kind":16777216,"name":"validatedTtl","url":"modules/_helpers_index_.html#validatedttl","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"\"helpers/index\""},{"id":4,"kind":65536,"name":"__type","url":"classes/_redisconnectionpool_.redispool.html#logger.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"\"RedisConnectionPool\".RedisPool.logger"},{"id":5,"kind":65536,"name":"__type","url":"classes/_redisstore_.redisstore.html#logger.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"\"RedisStore\".RedisStore.logger"},{"id":6,"kind":1,"name":"\"redisCache\"","url":"modules/_rediscache_.html","classes":"tsd-kind-module"},{"id":7,"kind":32,"name":"debug","url":"modules/_rediscache_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported","parent":"\"redisCache\""},{"id":8,"kind":32,"name":"store","url":"modules/_rediscache_.html#store","classes":"tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported","parent":"\"redisCache\""},{"id":9,"kind":64,"name":"init","url":"modules/_rediscache_.html#init","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":10,"kind":64,"name":"getStore","url":"modules/_rediscache_.html#getstore","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":11,"kind":64,"name":"getName","url":"modules/_rediscache_.html#getname","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":12,"kind":64,"name":"getRedisOptions","url":"modules/_rediscache_.html#getredisoptions","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":13,"kind":64,"name":"getPoolOptions","url":"modules/_rediscache_.html#getpooloptions","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":14,"kind":64,"name":"getStatus","url":"modules/_rediscache_.html#getstatus","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":15,"kind":64,"name":"getDefaultTtlInS","url":"modules/_rediscache_.html#getdefaultttlins","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":16,"kind":64,"name":"setDefaultTtlInS","url":"modules/_rediscache_.html#setdefaultttlins","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":17,"kind":64,"name":"set","url":"modules/_rediscache_.html#set","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":18,"kind":64,"name":"getset","url":"modules/_rediscache_.html#getset","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":19,"kind":64,"name":"get","url":"modules/_rediscache_.html#get","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":20,"kind":64,"name":"keys","url":"modules/_rediscache_.html#keys","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":21,"kind":64,"name":"del","url":"modules/_rediscache_.html#del","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":22,"kind":64,"name":"deleteAll","url":"modules/_rediscache_.html#deleteall","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":23,"kind":64,"name":"wrap","url":"modules/_rediscache_.html#wrap","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""}],"index":{"version":"2.3.8","fields":["name","parent"],"fieldVectors":[["name/0",[0,28.134]],["parent/0",[1,1.685]],["name/1",[2,28.134]],["parent/1",[1,1.685]],["name/2",[3,28.134]],["parent/2",[1,1.685]],["name/3",[4,28.134]],["parent/3",[1,1.685]],["name/4",[5,23.026]],["parent/4",[6,2.764]],["name/5",[5,23.026]],["parent/5",[7,2.764]],["name/6",[8,3.011]],["parent/6",[]],["name/7",[9,28.134]],["parent/7",[8,0.296]],["name/8",[10,28.134]],["parent/8",[8,0.296]],["name/9",[11,28.134]],["parent/9",[8,0.296]],["name/10",[12,28.134]],["parent/10",[8,0.296]],["name/11",[13,28.134]],["parent/11",[8,0.296]],["name/12",[14,28.134]],["parent/12",[8,0.296]],["name/13",[15,28.134]],["parent/13",[8,0.296]],["name/14",[16,28.134]],["parent/14",[8,0.296]],["name/15",[17,28.134]],["parent/15",[8,0.296]],["name/16",[18,28.134]],["parent/16",[8,0.296]],["name/17",[19,28.134]],["parent/17",[8,0.296]],["name/18",[20,28.134]],["parent/18",[8,0.296]],["name/19",[21,28.134]],["parent/19",[8,0.296]],["name/20",[22,28.134]],["parent/20",[8,0.296]],["name/21",[23,28.134]],["parent/21",[8,0.296]],["name/22",[24,28.134]],["parent/22",[8,0.296]],["name/23",[25,28.134]],["parent/23",[8,0.296]]],"invertedIndex":[["__type",{"_index":5,"name":{"4":{},"5":{}},"parent":{}}],["createlogger",{"_index":0,"name":{"0":{}},"parent":{}}],["debug",{"_index":9,"name":{"7":{}},"parent":{}}],["del",{"_index":23,"name":{"21":{}},"parent":{}}],["deleteall",{"_index":24,"name":{"22":{}},"parent":{}}],["genrandomstr",{"_index":3,"name":{"2":{}},"parent":{}}],["get",{"_index":21,"name":{"19":{}},"parent":{}}],["getdefaultttlins",{"_index":17,"name":{"15":{}},"parent":{}}],["getname",{"_index":13,"name":{"11":{}},"parent":{}}],["getpooloptions",{"_index":15,"name":{"13":{}},"parent":{}}],["getredisoptions",{"_index":14,"name":{"12":{}},"parent":{}}],["getset",{"_index":20,"name":{"18":{}},"parent":{}}],["getstatus",{"_index":16,"name":{"14":{}},"parent":{}}],["getstore",{"_index":12,"name":{"10":{}},"parent":{}}],["helpers/index",{"_index":1,"name":{},"parent":{"0":{},"1":{},"2":{},"3":{}}}],["init",{"_index":11,"name":{"9":{}},"parent":{}}],["keys",{"_index":22,"name":{"20":{}},"parent":{}}],["logger",{"_index":2,"name":{"1":{}},"parent":{}}],["rediscache",{"_index":8,"name":{"6":{}},"parent":{"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{}}}],["redisconnectionpool\".redispool.logger",{"_index":6,"name":{},"parent":{"4":{}}}],["redisstore\".redisstore.logger",{"_index":7,"name":{},"parent":{"5":{}}}],["set",{"_index":19,"name":{"17":{}},"parent":{}}],["setdefaultttlins",{"_index":18,"name":{"16":{}},"parent":{}}],["store",{"_index":10,"name":{"8":{}},"parent":{}}],["validatedttl",{"_index":4,"name":{"3":{}},"parent":{}}],["wrap",{"_index":25,"name":{"23":{}},"parent":{}}]],"pipeline":[]}}
{"kinds":{"1":"Module","32":"Variable","64":"Function","65536":"Type literal","16777216":"Reference"},"rows":[{"id":0,"kind":16777216,"name":"createLogger","url":"modules/_helpers_index_.html#createlogger","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"\"helpers/index\""},{"id":1,"kind":16777216,"name":"Logger","url":"modules/_helpers_index_.html#logger","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"\"helpers/index\""},{"id":2,"kind":16777216,"name":"genRandomStr","url":"modules/_helpers_index_.html#genrandomstr","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"\"helpers/index\""},{"id":3,"kind":16777216,"name":"validatedTtl","url":"modules/_helpers_index_.html#validatedttl","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"\"helpers/index\""},{"id":4,"kind":65536,"name":"__type","url":"classes/_redisconnectionpool_.redispool.html#logger.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"\"RedisConnectionPool\".RedisPool.logger"},{"id":5,"kind":65536,"name":"__type","url":"classes/_redisstore_.redisstore.html#logger.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"\"RedisStore\".RedisStore.logger"},{"id":6,"kind":1,"name":"\"redisCache\"","url":"modules/_rediscache_.html","classes":"tsd-kind-module"},{"id":7,"kind":32,"name":"debug","url":"modules/_rediscache_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported","parent":"\"redisCache\""},{"id":8,"kind":32,"name":"store","url":"modules/_rediscache_.html#store","classes":"tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported","parent":"\"redisCache\""},{"id":9,"kind":64,"name":"init","url":"modules/_rediscache_.html#init","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":10,"kind":64,"name":"getStore","url":"modules/_rediscache_.html#getstore","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":11,"kind":64,"name":"getName","url":"modules/_rediscache_.html#getname","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":12,"kind":64,"name":"getRedisOptions","url":"modules/_rediscache_.html#getredisoptions","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":13,"kind":64,"name":"getPoolOptions","url":"modules/_rediscache_.html#getpooloptions","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":14,"kind":64,"name":"getStatus","url":"modules/_rediscache_.html#getstatus","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":15,"kind":64,"name":"getDefaultTtlInS","url":"modules/_rediscache_.html#getdefaultttlins","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":16,"kind":64,"name":"setDefaultTtlInS","url":"modules/_rediscache_.html#setdefaultttlins","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":17,"kind":64,"name":"unsetDefaultTtlInS","url":"modules/_rediscache_.html#unsetdefaultttlins","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":18,"kind":64,"name":"set","url":"modules/_rediscache_.html#set","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":19,"kind":64,"name":"getset","url":"modules/_rediscache_.html#getset","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":20,"kind":64,"name":"get","url":"modules/_rediscache_.html#get","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":21,"kind":64,"name":"keys","url":"modules/_rediscache_.html#keys","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":22,"kind":64,"name":"del","url":"modules/_rediscache_.html#del","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":23,"kind":64,"name":"deleteAll","url":"modules/_rediscache_.html#deleteall","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""},{"id":24,"kind":64,"name":"wrap","url":"modules/_rediscache_.html#wrap","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"redisCache\""}],"index":{"version":"2.3.8","fields":["name","parent"],"fieldVectors":[["name/0",[0,28.526]],["parent/0",[1,1.725]],["name/1",[2,28.526]],["parent/1",[1,1.725]],["name/2",[3,28.526]],["parent/2",[1,1.725]],["name/3",[4,28.526]],["parent/3",[1,1.725]],["name/4",[5,23.418]],["parent/4",[6,2.805]],["name/5",[5,23.418]],["parent/5",[7,2.805]],["name/6",[8,2.877]],["parent/6",[]],["name/7",[9,28.526]],["parent/7",[8,0.283]],["name/8",[10,28.526]],["parent/8",[8,0.283]],["name/9",[11,28.526]],["parent/9",[8,0.283]],["name/10",[12,28.526]],["parent/10",[8,0.283]],["name/11",[13,28.526]],["parent/11",[8,0.283]],["name/12",[14,28.526]],["parent/12",[8,0.283]],["name/13",[15,28.526]],["parent/13",[8,0.283]],["name/14",[16,28.526]],["parent/14",[8,0.283]],["name/15",[17,28.526]],["parent/15",[8,0.283]],["name/16",[18,28.526]],["parent/16",[8,0.283]],["name/17",[19,28.526]],["parent/17",[8,0.283]],["name/18",[20,28.526]],["parent/18",[8,0.283]],["name/19",[21,28.526]],["parent/19",[8,0.283]],["name/20",[22,28.526]],["parent/20",[8,0.283]],["name/21",[23,28.526]],["parent/21",[8,0.283]],["name/22",[24,28.526]],["parent/22",[8,0.283]],["name/23",[25,28.526]],["parent/23",[8,0.283]],["name/24",[26,28.526]],["parent/24",[8,0.283]]],"invertedIndex":[["__type",{"_index":5,"name":{"4":{},"5":{}},"parent":{}}],["createlogger",{"_index":0,"name":{"0":{}},"parent":{}}],["debug",{"_index":9,"name":{"7":{}},"parent":{}}],["del",{"_index":24,"name":{"22":{}},"parent":{}}],["deleteall",{"_index":25,"name":{"23":{}},"parent":{}}],["genrandomstr",{"_index":3,"name":{"2":{}},"parent":{}}],["get",{"_index":22,"name":{"20":{}},"parent":{}}],["getdefaultttlins",{"_index":17,"name":{"15":{}},"parent":{}}],["getname",{"_index":13,"name":{"11":{}},"parent":{}}],["getpooloptions",{"_index":15,"name":{"13":{}},"parent":{}}],["getredisoptions",{"_index":14,"name":{"12":{}},"parent":{}}],["getset",{"_index":21,"name":{"19":{}},"parent":{}}],["getstatus",{"_index":16,"name":{"14":{}},"parent":{}}],["getstore",{"_index":12,"name":{"10":{}},"parent":{}}],["helpers/index",{"_index":1,"name":{},"parent":{"0":{},"1":{},"2":{},"3":{}}}],["init",{"_index":11,"name":{"9":{}},"parent":{}}],["keys",{"_index":23,"name":{"21":{}},"parent":{}}],["logger",{"_index":2,"name":{"1":{}},"parent":{}}],["rediscache",{"_index":8,"name":{"6":{}},"parent":{"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{}}}],["redisconnectionpool\".redispool.logger",{"_index":6,"name":{},"parent":{"4":{}}}],["redisstore\".redisstore.logger",{"_index":7,"name":{},"parent":{"5":{}}}],["set",{"_index":20,"name":{"18":{}},"parent":{}}],["setdefaultttlins",{"_index":18,"name":{"16":{}},"parent":{}}],["store",{"_index":10,"name":{"8":{}},"parent":{}}],["unsetdefaultttlins",{"_index":19,"name":{"17":{}},"parent":{}}],["validatedttl",{"_index":4,"name":{"3":{}},"parent":{}}],["wrap",{"_index":26,"name":{"24":{}},"parent":{}}]],"pipeline":[]}}
2 changes: 1 addition & 1 deletion docs/classes/_error_invalidttlerror_.invalidttlerror.html
Expand Up @@ -2793,7 +2793,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/pasupulaphani/node-cache-redis/blob/47963e1/src/error/InvalidTtlError.ts#L1">src/error/InvalidTtlError.ts:1</a></li>
<li>Defined in <a href="https://github.com/pasupulaphani/node-cache-redis/blob/1abcbe6/src/error/InvalidTtlError.ts#L1">src/error/InvalidTtlError.ts:1</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
Expand Up @@ -2793,7 +2793,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/pasupulaphani/node-cache-redis/blob/47963e1/src/error/NotInitialisedError.ts#L1">src/error/NotInitialisedError.ts:1</a></li>
<li>Defined in <a href="https://github.com/pasupulaphani/node-cache-redis/blob/1abcbe6/src/error/NotInitialisedError.ts#L1">src/error/NotInitialisedError.ts:1</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down

0 comments on commit 708a426

Please sign in to comment.