fix(core): update

This commit is contained in:
2023-08-24 10:39:47 +02:00
parent 2e95824ff4
commit 102422c9c7
10 changed files with 1149 additions and 187 deletions

1
test/somekv.json Normal file
View File

@ -0,0 +1 @@
{"myKey":"myValue"}

View File

@ -5,7 +5,7 @@ import * as npmextra from '../ts/index.js';
let myKeyValueStore: npmextra.KeyValueStore;
tap.test('should create a keyValueStore', async () => {
myKeyValueStore = new npmextra.KeyValueStore('custom', 'test');
myKeyValueStore = new npmextra.KeyValueStore('custom', 'test', 'test/somekv.json');
expect(myKeyValueStore).toBeInstanceOf(npmextra.KeyValueStore);
});