Verified Commit 64c30bf8 authored by Chocobozzz's avatar Chocobozzz
Browse files

Fix tests

parent 10788fd5
......@@ -17,7 +17,7 @@ async function register ({
logger.info('superkey stored value is %s', result.value)
const storedArrayValue = await storageManager.getData('storedArrayKey')
logger.info('storedArrayKey value type is %s', typeof storedArrayValue)
logger.info('storedArrayKey isArray is %s', Array.isArray(storedArrayValue) ? 'true' : 'false')
logger.info('storedArrayKey stored value is %s', storedArrayValue.join(', '))
}
......
......@@ -32,7 +32,7 @@ describe('Test plugin storage', function () {
})
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 isArray is true')
await server.servers.waitUntilLog('storedArrayKey stored value is toto, toto2')
})
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment