1234567891011 |
- /**
- * Created by Tony on 2017/3/20.
- */
- var test = require('tape');
- var cache = require('../../../public/cache/cacheUtil');
- test('test cache usage:', function(t) {
- cache.setCache("unit_TestKey","hello my cache!");
- t.equal(cache.getCache("unit_TestKey"), "hello my cache!")
- t.end();
- })
|