fix: no cache

This commit is contained in:
DIYgod
2019-06-11 14:10:34 +08:00
parent f1514212db
commit e78992ef7c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ describe('cache', () => {
});
it('no cache', async () => {
delete process.env.CACHE_EXPIRE;
process.env.CACHE_TYPE = '';
server = require('../../lib/index').server;
const request = supertest(server);