Add NullCacheAdapter (#2636)

* Add NullCacheAdapter

* clear returns promise explicitly

* Add NullCacheAdapter accessor
This commit is contained in:
Yuki Takeichi
2016-09-07 21:08:09 +09:00
committed by Florent Vilmart
parent 33e3993a37
commit fe62e92aa1
4 changed files with 65 additions and 1 deletions

View File

@@ -248,6 +248,7 @@ describe('server', () => {
expect(ParseServer.GCSAdapter).toThrow('GCSAdapter is not provided by parse-server anymore; please install parse-server-gcs-adapter');
expect(ParseServer.FileSystemAdapter).toThrow();
expect(ParseServer.InMemoryCacheAdapter).toThrow();
expect(ParseServer.NullCacheAdapter).toThrow();
done();
});