fix(core): update
This commit is contained in:
parent
34e898e0cf
commit
0eb8193e4a
@ -15,7 +15,14 @@ tap.test('should init the database', async () => {
|
||||
await testWebstore.init();
|
||||
});
|
||||
|
||||
tap.test('should store a value', async () => {
|
||||
tap.test('should allow storing a string', async () => {
|
||||
await testWebstore.set('mystring', 'heythere');
|
||||
expect(await testWebstore.get('mystring')).to.equal('heythere');
|
||||
});
|
||||
|
||||
|
||||
|
||||
tap.test('should allow storing an object', async () => {
|
||||
await testWebstore.set('testProp1', {
|
||||
wow: 'wowVal'
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user