fix plugin storage return value when storing a Json array

This commit is contained in:
lutangar
2021-12-15 09:35:17 +01:00
committed by Chocobozzz
parent 8530211822
commit ced38c0ffe
3 changed files with 14 additions and 9 deletions

View File

@@ -27,10 +27,14 @@ describe('Test plugin storage', function () {
})
describe('DB storage', function () {
it('Should correctly store a subkey', async function () {
await server.servers.waitUntilLog('superkey stored value is toto')
})
it('Should correctly retrieve an array as array from the storage.', async function () {
await server.servers.waitUntilLog('storedArrayKey value type is array')
await server.servers.waitUntilLog('storedArrayKey stored value is toto, toto2')
})
})
describe('Disk storage', function () {