levelcache/test/test.ts
2020-02-15 22:38:28 +00:00

18 lines
418 B
TypeScript

import { expect, tap } from '@pushrocks/tapbundle';
import * as levelcache from '../ts/index';
let testLevelCache: levelcache.LevelCache;
tap.test('should create a new levelcache instance', async () => {
testLevelCache = new levelcache.LevelCache({
});
expect(testLevelCache).to.be.instanceOf(levelcache.LevelCache);
});
tap.test('should cache a value', async () => {
testLevelCache.
});
tap.start();