mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
add assertions to addStorage test
check version and folders attribute from resolved data and json
This commit is contained in:
@@ -40,7 +40,8 @@ function addStorage (input) {
|
||||
|
||||
return Promise.resolve(newStorage)
|
||||
.then(resolveStorageData)
|
||||
.then(function saveMetadataToLocalStorage () {
|
||||
.then(function saveMetadataToLocalStorage (resolvedStorage) {
|
||||
newStorage = resolvedStorage
|
||||
rawStorages.push({
|
||||
key: newStorage.key,
|
||||
type: newStorage.type,
|
||||
|
||||
Reference in New Issue
Block a user