Luke Childs
|
2c8297bd6a
|
Remove devDependency on delay So test file can be imported by other modules
|
7 years ago |
Luke Childs
|
5ae986089d
|
Get shorter reference to store
|
7 years ago |
Luke Childs
|
5008496db6
|
Refactor store tests into seperate module
|
7 years ago |
Luke Childs
|
f23bcf26f6
|
Reformat tests to run against a single storage adapter
|
7 years ago |
Luke Childs
|
1752a8c770
|
0.1.0
|
7 years ago |
Luke Childs
|
d0b57b4f55
|
Test .set(key, val, ttl) overwrites default tll option
|
7 years ago |
Luke Childs
|
ead7c724a8
|
Test Keyv respects default tll option
|
7 years ago |
Luke Childs
|
0a96235cc5
|
Default ttl option
|
7 years ago |
Luke Childs
|
5fbad0cc2b
|
Make sure ttl arg definitely gets passed through to store
|
7 years ago |
Luke Childs
|
4ba57c0f18
|
Test Keyv hands tll functionality over to ttl supporting stores
|
7 years ago |
Luke Childs
|
551d3b312d
|
Test Keyv accepts storage adapters
|
7 years ago |
Luke Childs
|
7ad2bcd46f
|
Remove pointless test
|
7 years ago |
Luke Childs
|
83ed849e18
|
Split tests into api and unit
|
7 years ago |
Luke Childs
|
e890f89869
|
Save all opts in this.opts
|
7 years ago |
Luke Childs
|
e74bf198a9
|
Dont use our own ttl logic if store has ttl support
|
7 years ago |
Luke Childs
|
730789849c
|
Pass ttl through to underlying storage adapter
|
7 years ago |
Luke Childs
|
75dfed8f68
|
Allow passing in a store
|
7 years ago |
Luke Childs
|
b6fb2e91aa
|
Test .set(key, value, ttl) sets a value that expires
|
7 years ago |
Luke Childs
|
5047875016
|
Add ttl functionality
|
7 years ago |
Luke Childs
|
e61053403b
|
Use xo-lukechilds
|
7 years ago |
Luke Childs
|
0cbd77ae41
|
Move constructor type tests into a single test
|
7 years ago |
Luke Childs
|
73766d6318
|
Test .delete(key) with nonexistent key resolves to false
|
7 years ago |
Luke Childs
|
659ea8e0bf
|
Test .delete(key) resolves to true
|
7 years ago |
Luke Childs
|
a42bdb2276
|
Test .delete(key) returns a Promise
|
7 years ago |
Luke Childs
|
fefbfacfcc
|
Test .get(key) with nonexistent key resolves to undefined
|
7 years ago |
Luke Childs
|
e43421fad1
|
Test .get(key) resolves to value
|
7 years ago |
Luke Childs
|
9aa03dd178
|
Test .get(key) returns a Promise
|
7 years ago |
Luke Childs
|
cf97f3e70d
|
Test Keyv is an instance of Keyv
|
7 years ago |
Luke Childs
|
94146aad35
|
Test .set(key, value) resolves to value
|
7 years ago |
Luke Childs
|
72321dd160
|
Test .set(key, value) returns a Promise
|
7 years ago |
Luke Childs
|
26788f92af
|
Return value from .set()
|
7 years ago |
Luke Childs
|
28665e4cfe
|
Test Keyv cannot be invoked without \'new\'
|
7 years ago |
Luke Childs
|
45413120a3
|
Promisify API
|
7 years ago |
Luke Childs
|
4fef3d8458
|
keyv => Keyv
|
7 years ago |
Luke Childs
|
3b8899fb8c
|
Wrap Map API
|
7 years ago |
Luke Childs
|
48beea9000
|
Initial commit
|
7 years ago |