UNPKG

cache-storage

Version:

[ABANDONED] Advanced cache storage for node js

8 lines (5 loc) 219 B
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)