From 0eb8193e4a4b61114de0807767f65fc2cbbf3e7b Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 11 Jul 2020 17:19:29 +0000 Subject: [PATCH] fix(core): update --- test/test.browser.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/test.browser.ts b/test/test.browser.ts index e531a43..c26cbfc 100644 --- a/test/test.browser.ts +++ b/test/test.browser.ts @@ -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' });