UNPKG

cache-storage

Version:

[ABANDONED] Advanced cache storage for node js

9 lines (6 loc) 256 B
expect = require('chai').expect Cache = require '../../../lib/Cache' 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)