levelcache/test/test.ts
2020-02-14 17:28:13 +00:00

16 lines
391 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 () => {
});
tap.start();