UNPKG
cache-storage
Version:
latest (2.0.1)
2.0.1
2.0.0
1.4.1
1.4.0
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.2
1.0.0
[ABANDONED] Advanced cache storage for node js
github.com/Carrooi/Node-CacheStorage
cache-storage
/
test
/
browser
/
tests
/
Cache.coffee
8 lines
(5 loc)
•
219 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
Cache
=
require
'cache-storage'
describe
'Cache'
, -> describe
'#constructor()'
, -> it
'should throw an error if storage is not an instance of Cache Storage'
, ->
expect
( ->
new
Cache
(
new
Array
) ).
to
.
throw
(
Error
)